Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,8 @@
"at any time"
],
}],
"labels": ["auto-approve"],
"labels": [
// Add auto-approve label which triggers the corresponding workflow.
"auto-approve",
],
}
4 changes: 2 additions & 2 deletions .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ on:

jobs:
auto-approve:
name: Auto-approve Konflux updates
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'
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 }}
Expand Down