SW-7658 Remove unused dependency #474
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: Open PR | |
| on: | |
| pull_request: | |
| branches: [main] | |
| types: [opened] | |
| jobs: | |
| version-label-comment: | |
| name: 'Add Comments' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pull-requests: write | |
| steps: | |
| - uses: mshick/add-pr-comment@v2 | |
| with: | |
| message: | | |
| To increment version on merge, please add one of `patch` (default), `minor`, or `major` label to this PR. | |
| add-default-labels: | |
| name: 'Add Labels' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/github-script@v8 | |
| # skip auto patch labeling for dependabot or renovate PRs | |
| if: ${{ github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]' }} | |
| with: | |
| script: | | |
| github.rest.issues.addLabels({ | |
| issue_number: context.issue.number, | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| labels: ["patch"] | |
| }) |