We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36011d5 commit 12e423bCopy full SHA for 12e423b
.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
@@ -26,4 +26,4 @@ jobs:
26
git config user.email "${{ secrets.ADYEN_AUTOMATION_BOT_EMAIL }}"
27
git add .
28
git commit -m "style(fmt): code formatted"
29
- git push
+ git push
0 commit comments