chore: force next release to 1.0.1 #399
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: Auto-label issues and PRs | |
| on: | |
| issues: | |
| types: [opened] | |
| # We do pull_request_target instead of pull_request to support PR's from forks. | |
| # This is safe here because we're not checking out or executing any code from the fork; we're just adding labels. | |
| pull_request_target: | |
| types: [opened] | |
| jobs: | |
| label: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| - uses: actions/github-script@v9 | |
| with: | |
| # Use PAT instead of default GITHUB_TOKEN to trigger subsequent workflows. | |
| # Events triggered by GITHUB_TOKEN do not create new workflow runs by design. | |
| # This allows the add-issues-and-prs-to-fs-project-board.yml workflow to be triggered when labels are added. | |
| # See: https://docs.github.com/en/actions/concepts/security/github_token | |
| # | |
| # PAT Requirements: | |
| # - Scope: public_repo (to add labels to issues/PRs in public repositories) | |
| # - Permissions: The PAT owner must have at least triage access to the repository | |
| github-token: ${{ secrets.FILOZZY_CI_ADD_TO_PROJECT }} | |
| script: | | |
| github.rest.issues.addLabels({ | |
| issue_number: context.issue.number, | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| labels: ['team/fs-wg', 'team/filecoin-pin'] | |
| }) |