diff --git a/.github/workflows/update_verification_metadata.yml b/.github/workflows/update_verification_metadata.yml index e7e1e593ec..211c7bff73 100644 --- a/.github/workflows/update_verification_metadata.yml +++ b/.github/workflows/update_verification_metadata.yml @@ -10,6 +10,7 @@ jobs: update-verification-metadata: name: Update verification metadata runs-on: ubuntu-latest + if: ${{ !contains(github.event.commit.message, '[skip update-verification-metadata]') }} steps: - uses: actions/checkout@v4 @@ -35,7 +36,12 @@ jobs: - name: Commit run: | + echo ${{ github.event.commit.message }} touch test_file.txt + git config --global user.name "${{ secrets.ADYEN_AUTOMATION_BOT_USER }}" + git config --global user.email "${{ secrets.TOKEN_EMAIL }}" git add . - git diff-index --quiet HEAD || git commit -am 'Update verification metadata' + git diff-index --quiet HEAD || git commit -m "Update verification metadata + + [skip update-verification-metadata]" git push