[pull] master from backstage:master #1054
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: Automate area labels | |
on: | |
- pull_request_target | |
permissions: | |
contents: read | |
jobs: | |
triage: | |
permissions: | |
contents: read # for actions/labeler to determine modified files | |
pull-requests: write # for actions/labeler to add labels to PRs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: audit | |
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0 | |
with: | |
repo-token: '${{ secrets.GITHUB_TOKEN }}' | |
sync-labels: true |