We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3003152 commit 16ecc26Copy full SHA for 16ecc26
.github/workflows/format.yml
@@ -7,7 +7,7 @@ on:
7
8
jobs:
9
format:
10
- if: ${{ ! startsWith(github.event.head_commit.message, 'style(fmt)') }}
+ if: ${{ github.event.commits != null && !startsWith(github.event.head_commit.message, 'style(fmt)') }}
11
permissions:
12
contents: write
13
runs-on: ubuntu-latest
@@ -32,5 +32,5 @@ jobs:
32
git config user.name AdyenAutomationBot
33
git config user.email "${{ secrets.ADYEN_AUTOMATION_BOT_EMAIL }}"
34
git add .
35
- git commit -m "style(fmt): code formatted"
+ git commit -m "style(fmt): code formatted" || echo "No changes to commit"
36
git push
0 commit comments