We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 204bc60 commit 4ccb17fCopy full SHA for 4ccb17f
.github/renovate.json5
@@ -88,6 +88,7 @@
88
}
89
],
90
"labels": [
91
+ // Add auto-approve label which triggers the corresponding workflow.
92
"auto-approve",
93
94
.github/workflows/auto-approve.yml
@@ -7,9 +7,9 @@ on:
7
8
jobs:
9
auto-approve:
10
- name: Auto-approve Konflux updates
+ name: Auto-approve Konflux updates for default branch
11
runs-on: ubuntu-latest
12
- 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
13
steps:
14
- env:
15
GH_TOKEN: ${{ secrets.RHACS_BOT_GITHUB_TOKEN }}
0 commit comments