-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Negation fix * commit as AdyenAutomationBot
- Loading branch information
1 parent
c0f2c7b
commit 2526bde
Showing
1 changed file
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,17 +7,21 @@ on: | |
|
||
jobs: | ||
format: | ||
if: ! startsWith(github.event.head_commit.message, 'style(fmt)') | ||
if: ${{ ! startsWith(github.event.head_commit.message, 'style(fmt)') }} | ||
permissions: | ||
contents: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | ||
with: | ||
token: ${{ secrets.ADYEN_AUTOMATION_BOT_ACCESS_TOKEN }} | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.18 | ||
- run: make fmt | ||
- run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git config user.name AdyenAutomationBot | ||
git config user.email "${{ secrets.ADYEN_AUTOMATION_BOT_EMAIL }}" | ||
git add . | ||
git commit -m "style(fmt): code formatted" | ||
git push | ||
git push |