Bump path-to-regexp and express #41
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
# This file is centrally managed | |
# https://github.com/domdomegg/domdomegg/blob/master/file-sync/auto-dependabot.yaml | |
name: Dependabot automation | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- edited | |
- ready_for_review | |
- unlabeled | |
permissions: | |
pull-requests: write | |
contents: write | |
jobs: | |
dependabot_automation: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 10 | |
if: ${{ github.actor == 'dependabot[bot]' }} | |
steps: | |
- name: Approve | |
run: gh pr review --approve "$PR_URL" | |
env: | |
PR_URL: ${{github.event.pull_request.html_url}} | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
- name: Enable auto-merge | |
if: ${{ !contains(github.event.pull_request.labels.*.name, 'do not merge') }} | |
run: gh pr merge --auto --squash "$PR_URL" | |
env: | |
PR_URL: ${{github.event.pull_request.html_url}} | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |