Repository navigation
fix(process-daemon): wait on events instead of 25 ms polls on Windows #3457
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: triage-contributor | ||
|
Check warning on line 1 in .github/workflows/triage-contributor.yml
|
||
| on: | ||
| pull_request_target: | ||
| types: [opened] | ||
| jobs: | ||
| add-contributor-label: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| pull-requests: write | ||
| issues: write | ||
| steps: | ||
| - name: Add Contributor Label | ||
| uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 | ||
| with: | ||
| script: | | ||
| if (context.payload.pull_request.author_association === 'CONTRIBUTOR') { | ||
| await github.rest.issues.addLabels({ | ||
| owner: context.repo.owner, | ||
| repo: context.repo.repo, | ||
| issue_number: context.payload.pull_request.number, | ||
| labels: ['contributor'] | ||
| }); | ||
| } | ||