Skip to content

Commit

Permalink
Trigger another verify check
Browse files Browse the repository at this point in the history
  • Loading branch information
timebertt committed Aug 16, 2024
1 parent f358a07 commit f5c0b5c
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/renovate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,34 @@ jobs:
post-update:
runs-on: ubuntu-latest

permissions:
contents: write

steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.RENOVATE_TOKEN }}
- uses: actions/setup-go@v5
with:
go-version-file: go.mod

# prevent triggering infinite loop of this action
- name: safety check
id: safety
run: |
if git log -1 --pretty=full | grep '\[skip renovate-post-update\]' >/dev/null ; then
echo "skip=true" >> $GITHUB_OUTPUT
fi
# Some dependency updates might require updating go.work.sum.
# Automatically run `make tidy` on renovate branches as long as renovate doesn't know how to handle go workspaces.
# Some dependency updates might require re-running code generation.
# Run `make generate` and commit all changes if any.
- run: make tidy generate
- uses: stefanzweifel/git-auto-commit-action@v5
if: steps.safety.outputs.skip != 'true'
with:
commit_message: make tidy generate
commit_message: |
make tidy generate
[skip renovate-post-update]
commit_user_name: renovate[bot]
commit_user_email: 29139614+renovate[bot]@users.noreply.github.com
commit_author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

0 comments on commit f5c0b5c

Please sign in to comment.