Skip to content

Bump actions/dependency-review-action from 4.2.4 to 4.2.5 #53

Bump actions/dependency-review-action from 4.2.4 to 4.2.5

Bump actions/dependency-review-action from 4.2.4 to 4.2.5 #53

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 }}