[release-1.35] Update Konflux configurations #2643
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
name: Dependabot | |
on: | |
pull_request: | |
permissions: | |
contents: write | |
jobs: | |
update-deps: | |
name: Update deps | |
runs-on: ubuntu-latest | |
if: ${{ github.actor == 'dependabot[bot]' }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
path: ./src/github.com/${{ github.repository }} | |
fetch-depth: 0 | |
- name: Setup Golang | |
uses: openshift-knative/hack/actions/setup-go@main | |
- name: Install yq | |
run: | | |
go install github.com/mikefarah/yq/v3@latest | |
- name: Generate files | |
working-directory: ./src/github.com/${{ github.repository }} | |
run: make generated-files | |
- name: git push | |
working-directory: ./src/github.com/${{ github.repository }} | |
run: | | |
if ! git diff --exit-code --quiet | |
then | |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
git config --local user.name "github-actions[bot]" | |
git add . | |
git commit -m "Run make generated-files" | |
git push | |
fi |