Skip to content

Commit 5802b0a

Browse files
authored
chore: auto-merge dependabot PRs (#174)
* chore: auto-merge dependabot PRs See stackrox/actions#87 * Use merged commit Until there's a new stackrox/actions v1 release. * Add a TODO * Update auto-merge.yml New v1 was released
1 parent 9cc0951 commit 5802b0a

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/auto-merge.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: auto-merge
2+
3+
on:
4+
schedule:
5+
- cron: '13 */6 * * *' # Every 6 hours
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
concurrency:
13+
group: auto-merge
14+
cancel-in-progress: false
15+
16+
jobs:
17+
auto-merge:
18+
name: Enable auto-merge for eligible PRs
19+
runs-on: ubuntu-latest
20+
if: github.repository_owner == 'stackrox'
21+
22+
steps:
23+
- name: Checkout repository
24+
uses: actions/checkout@v4
25+
26+
- name: Run auto-merge action
27+
uses: stackrox/actions/automerge@v1
28+
with:
29+
github-token: ${{ secrets.RHACS_BOT_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)