Reduced calls to Globals.prefs and Globals.entryTypesManager #8100
Workflow file for this run
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: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- labeled | |
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/github-action-wait-for-status@v1.8.0" | |
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/auto-approve-action@v3.2.1 | |
if: steps.waitforstatuschecks.outputs.status == 'success' | |
with: | |
github-token: "${{ secrets.GITHUB_TOKEN }}" | |
- name: Merge pull requests | |
uses: pascalgn/automerge-action@v0.15.6 | |
if: steps.waitforstatuschecks.outputs.status == 'success' | |
env: | |
MERGE_METHOD: "merge" | |
MERGE_LABELS: "" | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |