Skip to content

build(deps): bump actions/cache from 4 to 5 in /.github/actions/cache-go-dependencies in the actions group #749

build(deps): bump actions/cache from 4 to 5 in /.github/actions/cache-go-dependencies in the actions group

build(deps): bump actions/cache from 4 to 5 in /.github/actions/cache-go-dependencies in the actions group #749

Workflow file for this run

name: auto-merge
on:
pull_request:
types:
- labeled
jobs:
auto-approve:
name: Auto-approve Konflux updates for default branch
runs-on: ubuntu-latest
if: github.actor == 'red-hat-konflux[bot]' && github.event.label.name == 'auto-approve' && github.event.pull_request.base.ref == github.event.pull_request.base.repo.default_branch
steps:
- env:
GH_TOKEN: ${{ secrets.RHACS_BOT_GITHUB_TOKEN }}
run: |
set -euo pipefail
gh pr review ${{ github.event.pull_request.number }} \
--approve --body "Auto-approved by automation." \
--repo "${{ github.repository }}"