diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-10-29 10:49:59 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-10-29 10:49:59 +0300 |
commit | 2da616c76a69580a1f1fa3a710e2f2aaae029d32 (patch) | |
tree | c541ade7204bdf103ee0068403cc1901dcc70940 /.github | |
parent | 80bfac03be6f942503af1c2e615b2c05a5dbd365 (diff) |
Switch to approval workflow
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to '.github')
-rw-r--r-- | .github/autoapproval.yml | 6 | ||||
-rw-r--r-- | .github/workflows/dependabot-approve.yml | 11 |
2 files changed, 11 insertions, 6 deletions
diff --git a/.github/autoapproval.yml b/.github/autoapproval.yml deleted file mode 100644 index a3c83a3..0000000 --- a/.github/autoapproval.yml +++ /dev/null @@ -1,6 +0,0 @@ -from_owner: - - dependabot-preview[bot] -required_labels: - - dependencies -apply_labels: - - autoapproved diff --git a/.github/workflows/dependabot-approve.yml b/.github/workflows/dependabot-approve.yml new file mode 100644 index 0000000..cc5e6d1 --- /dev/null +++ b/.github/workflows/dependabot-approve.yml @@ -0,0 +1,11 @@ +name: Dependabot auto approve +on: pull_request + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: hmarr/auto-approve-action@v2.0.0 + if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' + with: + github-token: "${{ secrets.GITHUB_TOKEN }}" |