This repository has been archived by the owner on Dec 25, 2023. It is now read-only.
Dependency management #996
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: Dependency management | |
# see https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ | |
# for more details on why and how | |
on: | |
workflow_run: | |
workflows: ["CI"] | |
types: | |
- completed | |
jobs: | |
auto-merge: | |
runs-on: ubuntu-latest | |
if: > | |
${{ | |
github.actor == 'dependabot[bot]' && | |
github.event.workflow_run.event == 'pull_request' && | |
github.event.workflow_run.conclusion == 'success' | |
}} | |
steps: | |
- name: Auto merge (dependency updates) | |
uses: pascalgn/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
MERGE_METHOD: squash | |
MERGE_LABELS: "" | |
MERGE_FILTER_AUTHOR: dependabot[bot] | |
MERGE_FORKS: false | |
MERGE_DELETE_BRANCH: true |