forked from opensearch-project/security
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (29 loc) · 843 Bytes
/
automatic-merges.yml
File metadata and controls
33 lines (29 loc) · 843 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: automatic-merges
on:
workflow_run:
workflows:
- CI
- Plugin Install
- Code Hygiene
types: completed
jobs:
automatic-merge-version-bumps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- id: find-triggering-pr
uses: peternied/find-triggering-pr@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: peternied/discerning-merger@v3
if: steps.find-triggering-pr.outputs.pr-number != null
with:
token: ${{ secrets.GITHUB_TOKEN }}
pull-request-number: ${{ steps.find-triggering-pr.outputs.pr-number }}
allowed-authors: |
dependabot[bot]
opensearch-trigger-bot[bot]
allowed-files: |
build.gradle
CHANGELOG.md
.github/workflows/*.yml