Skip to content

Update dependency-review.yml #430

Update dependency-review.yml

Update dependency-review.yml #430

name: Manage labels
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
labeler:
name: Labeler
if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }}
runs-on: ubuntu-latest
permissions:
contents: read
issues: write # for crazy-max/ghaction-github-labeler to create, rename, update and delete label
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- name: Check out the repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Run Labeler
uses: crazy-max/ghaction-github-labeler@de749cf181958193cb7debf1a9c5bb28922f3e1b # v5.0.0
with:
github-token: ${{ secrets.TOKEN }}
yaml-file: .github/labels.yaml
skip-delete: true