Skip to content

Commit

Permalink
File sync from s4u/.github - enable auto merge
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Action committed Jun 30, 2021
1 parent 2ab2805 commit 07b8ebf
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,19 @@ jobs:
auto-approve:
runs-on: ubuntu-latest
steps:

- uses: alexwilson/enable-github-automerge-action@1.0.0
if: >
github.actor == 'dependabot[bot]'
|| github.actor == 'dependabot-preview[bot]'
with:
merge-method: "REBASE"
github-token: "${{ secrets.TECH_TOKEN }}"

- uses: hmarr/auto-approve-action@v2.1.0
if: >
github.actor == 'dependabot[bot]'
|| github.actor == 'dependabot-preview[bot]'
|| github.actor == 'slawekjaranowski'
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
github-token: "${{ secrets.TECH_TOKEN }}"

0 comments on commit 07b8ebf

Please sign in to comment.