Skip to content

Commit

Permalink
[repo-manager] Update templates
Browse files Browse the repository at this point in the history
  • Loading branch information
knapo committed Aug 5, 2024
1 parent 2f69be8 commit 099d502
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: hmarr/auto-approve-action@v3
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'renofidev' || contains(github.event.pull_request.labels.*.name, 'HOTFIX-AUTO-APPROVE') || contains(github.event.pull_request.labels.*.name, 'dependencies')
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'renofidev' || contains(github.event.pull_request.labels.*.name, 'HOTFIX-AUTO-APPROVE') || contains(github.event.pull_request.labels.*.name, 'self-approve') || contains(github.event.pull_request.labels.*.name, 'dependencies')
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
14 changes: 13 additions & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: automerge
on:
pull_request_target:
types:
- labeled
pull_request_review:
types:
- submitted
Expand All @@ -12,8 +15,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: automerge
uses: pascalgn/[email protected]
uses: pascalgn/[email protected]
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_METHOD: squash
MERGE_DELETE_BRANCH: true
MERGE_LABELS: "automerge,!automerge blocked"
- name: automerge-dependencies
uses: pascalgn/[email protected]
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_METHOD: squash
MERGE_DELETE_BRANCH: true
MERGE_LABELS: "dependencies,!automerge blocked"
MERGE_REMOVE_LABELS: ""

0 comments on commit 099d502

Please sign in to comment.