Repository navigation
Dependency (dependabot/dotnet-sdk): Bump dotnet-sdk from 10.0.402 to 10.0.403 in /Source #282
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: Assign label to PRs | ||
|
Check warning on line 1 in .github/workflows/label.yml
|
||
| on: | ||
| pull_request_target: | ||
| types: [opened, reopened] | ||
| jobs: | ||
| assign-dependencies-label: | ||
| name: Assign dependencies label | ||
| runs-on: ubuntu-latest | ||
| if: contains(fromJSON('["dependabot[bot]", "transifex-integration[bot]", "imgbot[bot]"]'), github.event.pull_request.user.login) | ||
| permissions: | ||
| issues: write | ||
| pull-requests: write | ||
| steps: | ||
| - name: Assign label | ||
| uses: actions/github-script@v7 | ||
| with: | ||
| script: | | ||
| await github.rest.issues.addLabels({ | ||
| owner: context.repo.owner, | ||
| repo: context.repo.repo, | ||
| issue_number: context.payload.pull_request.number, | ||
| labels: [':heavy_check_mark: dependencies'] | ||
| }); | ||