Triggered by pr label #1298
Workflow file for this run
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: pr-labeled | |
run-name: Triggered by pr label | |
env: | |
GH_TOKEN: ${{ github.token }} | |
PR: ${{ github.event.pull_request.html_url }} | |
on: | |
pull_request_target: | |
types: | |
- labeled | |
jobs: | |
process_labels: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
contents: read | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
sparse-checkout: | | |
.github | |
- name: process label | |
shell: pwsh | |
env: | |
LABEL: ${{ github.event.label.name }} | |
run: .github/workflows/script/PrLabeled.ps1 -LabelName $env:LABEL -PrUrl $env:PR |