wknapik test #506
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: Tag license-reviewer team for Sanctions Compliance | |
| on: | |
| pull_request_target: | |
| types: [labeled] | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| tag-team: | |
| runs-on: ubuntu-slim | |
| if: github.event.label.name == 'license-update' | |
| steps: | |
| - name: Tag license-reviewer team for Sanctions Compliance | |
| uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 | |
| with: | |
| script: | | |
| github.rest.issues.createComment({ | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| issue_number: context.issue.number, | |
| body: '@brave/license-reviewer This PR has been labeled `license-update` and requires your attention.' | |
| }) |