Skip to content

Commit 5fc7b46

Browse files
authored
Add workaround for renovate (#2698)
1 parent 9a05102 commit 5fc7b46

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,24 @@ jobs:
5454
filters: |
5555
charts:
5656
- charts/nginx-gateway-fabric/**/*
57+
generate:
58+
- go.mod
59+
- go.sum
60+
- Makefile
61+
62+
# go mod tidy can be removed once https://github.com/renovatebot/renovate/issues/12999 is implemented
63+
- name: Update files for renovate
64+
run: |
65+
make generate-all
66+
cd tests && go mod tidy && go mod verify
67+
if: ${{ github.actor == 'renovate[bot]' && steps.filter.outputs.generate == 'true' }}
68+
69+
- name: Commit changes
70+
id: commit
71+
uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1
72+
with:
73+
commit_message: "Update files for renovate"
74+
if: ${{ github.actor == 'renovate[bot]' && steps.filter.outputs.generate == 'true' }}
5775

5876
- name: Output Variables
5977
id: vars

0 commit comments

Comments
 (0)