This repository has been archived by the owner on Mar 12, 2024. It is now read-only.
Bump github.com/operator-framework/operator-lifecycle-manager from 0.25.0 to 3.11.0+incompatible #2
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: depndabot - update-deps.sh | |
on: | |
pull_request: | |
permissions: | |
contents: write | |
jobs: | |
generate_some_code: | |
name: Generate some code! | |
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: actions/setup-go@v5 | |
with: | |
go-version: 1.21.x | |
- name: Install prerequisites | |
env: | |
YQ_VERSION: 3.4.0 | |
run: | | |
sudo wget https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_amd64 -O /usr/bin/yq | |
sudo chmod +x /usr/bin/yq | |
sudo mv /usr/bin/yq /usr/local/bin/yq | |
- name: Run ./hack/update-deps.sh | |
working-directory: ./src/github.com/${{ github.repository }} | |
run: ./hack/update-deps.sh | |
- 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 ./hack/update-deps.sh" | |
git push | |
fi |