Skip to content

Merge in upstream skeleton changes to fix pre-commit linting #57

Merge in upstream skeleton changes to fix pre-commit linting

Merge in upstream skeleton changes to fix pre-commit linting #57

Workflow file for this run

---
name: Label auto-merge PRs
on:
pull_request_target:
types: [auto_merge_enabled, auto_merge_disabled]
env:
LABEL_NAME: 'automerge :bell:'
jobs:
add-remove-label:
runs-on: ubuntu-latest
steps:
- name: Update label
run: |
if [[ "${{ github.event.action }}" == "auto_merge_enabled" ]]; then
gh pr edit ${{ github.event.pull_request.number }} --repo ${{ github.repository }} --add-label "${{ env.LABEL_NAME }}"
elif [[ "${{ github.event.action }}" == "auto_merge_disabled" ]]; then
gh pr edit ${{ github.event.pull_request.number }} --repo ${{ github.repository }} --remove-label "${{ env.LABEL_NAME }}"
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}