File sync from s4u/.github - commons files for setup-maven-action

This commit is contained in:
GitHub Action
2021-08-28 19:36:15 +00:00
parent 44a9912507
commit 7cad558204
2 changed files with 46 additions and 0 deletions

25
.github/workflows/auto-approve.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: Auto approve
on:
pull_request_target
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.TECH_TOKEN }}"