[ConfigRegistry] 4/5 Aliases handling and analyzers to prevent using any string key #26794
This file contains hidden or 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: Label PRs | |
on: | |
- pull_request | |
jobs: | |
add-labels: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
issues: write # Update labels on PRs (might not be necessary, but we call the UpdateIssue API so...) | |
pull-requests: write # Update labels on PRs | |
steps: | |
- name: Checkout | |
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
- uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0 | |
with: | |
global-json-file: global.json | |
- name: "Add labels" | |
run: ./tracer/build.sh AssignLabelsToPullRequest | |
env: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
PullRequestNumber: "${{ github.event.pull_request.number }}" |