Repository navigation
Dependency (dependabot/dotnet-sdk): Bump dotnet-sdk from 10.0.403 to 10.0.404 in /Source #321
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] | ||
| # Dependabot sets the label itself (labels in .github/dependabot.yml) | ||
| jobs: | ||
| assign-dependencies-label: | ||
| name: Assign dependencies label | ||
| runs-on: ubuntu-latest | ||
| if: contains(fromJSON('["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@v9 | ||
| 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'] | ||
| }); | ||