Skip to content

Commit

Permalink
Update all services (#396)
Browse files Browse the repository at this point in the history
* [reformat][adyen-sdk-automation] automated change

* Log commits log

* style(fmt): code formatted

* Update format.yml

* Log github.event.size

* Check if commits in not null

---------

Co-authored-by: Beppe Catanese <1771700+gcatanese@users.noreply.github.com>
Co-authored-by: AdyenAutomationBot <Adyen Automation plugins_dev@adyen.com>
  • Loading branch information
3 people authored Dec 16, 2024
1 parent 1ec053e commit 444fb88
Show file tree
Hide file tree
Showing 39 changed files with 2,384 additions and 43 deletions.
26 changes: 21 additions & 5 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,37 @@ on:

jobs:
format:
if: ${{ github.event.commits != null && github.event.commits.length > 0 && !startsWith(github.event.head_commit.message, 'style(fmt)') }}
if: ${{ github.event.commits != null && !startsWith(github.event.head_commit.message, 'style(fmt)') }}
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Checkout Code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
token: ${{ secrets.ADYEN_AUTOMATION_BOT_ACCESS_TOKEN }}
- uses: actions/setup-go@v5

- name: Log Commit Details
run: |
echo "github.event.size: ${{ github.event.size }}"
echo "github.event.distinct_size: ${{ github.event.distinct_size }}"
echo "github.event.head_commit.message: ${{ github.event.head_commit.message }}"
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.18
- run: make fmt
- run: |

- name: Format Code
run: make fmt

- name: Configure Git
run: |
git config user.name AdyenAutomationBot
git config user.email "${{ secrets.ADYEN_AUTOMATION_BOT_EMAIL }}"
- name: Commit and Push Changes
run: |
git add .
git commit -m "style(fmt): code formatted"
git push
4 changes: 2 additions & 2 deletions src/acswebhook/model_amount.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 38 additions & 0 deletions src/acswebhook/model_authentication_notification_request.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/binlookup/model_amount.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 37 additions & 0 deletions src/checkout/model_card_details.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 37 additions & 0 deletions src/checkout/model_card_donations.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/disputewebhook/model_amount.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/legalentity/model_legal_entity_association.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/management/model_amount.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 39 additions & 2 deletions src/management/model_terminal_connectivity_cellular.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 444fb88

Please sign in to comment.