🤦 put dependabot wf in correct place (#164)

This commit is contained in:
Martijn Pieters
2023-05-16 14:24:45 +01:00
committed by GitHub
parent 24e1d8d40b
commit 452eaedf5b
2 changed files with 0 additions and 0 deletions

30
.github/workflows/labeller.yaml vendored Normal file
View File

@@ -0,0 +1,30 @@
name: Labeller
on:
pull_request_target:
types:
- auto_merge_disabled
- auto_merge_enabled
permissions: {}
jobs:
add_remove_labels:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Add auto-merge label
if: github.event.action == 'auto_merge_enabled'
run: gh pr edit "$PR_URL" --add-label "auto-merge"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Remove auto-merge label
if: github.event.action == 'auto_merge_disabled'
run: gh pr edit "$PR_URL" --remove-label "auto-merge"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}