Skip to content

[reformat][adyen-sdk-automation] automated change #282

[reformat][adyen-sdk-automation] automated change

[reformat][adyen-sdk-automation] automated change #282

Workflow file for this run

name: Go Format
on:
push:
branches:
- 'sdk-automation/models'
jobs:
format:
if: ${{ ! startsWith(github.event.head_commit.message, 'style(fmt)') }}
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4
with:
token: ${{ secrets.ADYEN_AUTOMATION_BOT_ACCESS_TOKEN }}
- uses: actions/setup-go@v5
with:
go-version: 1.18
- run: make fmt
- run: |
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