chore(deps): bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows #2520
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will regenerate the manifests, commit&push them on a PR labeled with `renovate/auto-regenerate`. | |
# It's to make sure that Renovate-created PRs that update kustomize dependencies also update the manifests. | |
name: Regenerate on deps bump | |
on: | |
pull_request: | |
types: | |
- labeled | |
jobs: | |
regenerate: | |
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT || 10) }} | |
if: contains(github.event.*.labels.*.name, 'renovate/auto-regenerate') | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
- name: setup golang | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- uses: jdx/mise-action@v2 | |
with: | |
install: false | |
- name: regenerate | |
run: make manifests | |
- name: Set github url and credentials | |
run: | | |
/usr/bin/git config --global --add url."https://${{ secrets.K8S_TEAM_BOT_GH_PAT }}:x-oauth-basic@github".insteadOf ssh://git@github | |
/usr/bin/git config --global --add url."https://${{ secrets.K8S_TEAM_BOT_GH_PAT }}:x-oauth-basic@github".insteadOf https://github | |
/usr/bin/git config --global --add url."https://${{ secrets.K8S_TEAM_BOT_GH_PAT }}:x-oauth-basic@github".insteadOf git@github | |
- name: commit and push (if changes detected) | |
run: | | |
git config --global user.name "github-actions" | |
git config --global user.email "[email protected]" | |
git add ./test/e2e/manifests | |
git status | |
git diff-index --quiet HEAD || \ | |
git commit -m "chore: regenerate manifests" && \ | |
git push origin ${{ github.event.pull_request.head.ref }} |