Version worker test #279
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Automerge Pull Requests | |
on: [pull_request] | |
jobs: | |
automerge: | |
name: Automerge Dependency Updates | |
runs-on: ubuntu-latest | |
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || contains(github.event.pull_request.labels.*.name, 'dependencies') | |
steps: | |
- name: 'Wait for status checks' | |
id: waitforstatuschecks | |
uses: "WyriHaximus/[email protected]" | |
with: | |
ignoreActions: Automerge Dependabot,Code coverage,Create snapcraft image,Deploy binaries on builds.jabref.org,codecov/project,markdown-link-check | |
checkInterval: 13 | |
env: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
- name: Auto approve | |
uses: hmarr/[email protected] | |
if: steps.waitforstatuschecks.outputs.status == 'success' | |
with: | |
github-token: "${{ secrets.GITHUB_TOKEN }}" | |
- name: Merge pull requests | |
uses: pascalgn/[email protected] | |
if: steps.waitforstatuschecks.outputs.status == 'success' | |
env: | |
MERGE_METHOD: "merge" | |
MERGE_LABELS: "" | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |