Repository navigation
docs: Use dark-mode-aware Sentry logo in READMEs #716
Workflow file for this run
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: 'Automation: Label external PRs' | ||
|
Check warning on line 1 in .github/workflows/label-external-prs.yml
|
||
| on: | ||
| pull_request_target: | ||
| types: | ||
| - opened | ||
| jobs: | ||
| label_external_pr: | ||
| name: Add external label | ||
| permissions: | ||
| pull-requests: write | ||
| runs-on: namespace-profile-sentry-javascript-small | ||
| if: | | ||
| github.event.pull_request.author_association != 'COLLABORATOR' | ||
| && github.event.pull_request.author_association != 'MEMBER' | ||
| && github.event.pull_request.author_association != 'OWNER' | ||
| && endsWith(github.event.pull_request.user.login, '[bot]') == false | ||
| steps: | ||
| - name: Add external label | ||
| uses: actions-ecosystem/action-add-labels@18f1af5e3544586314bbe15c0273249c770b2daf # v1.1.3 | ||
| with: | ||
| labels: external | ||