WEB3-558: Update the license check script with --fix functionality #1721
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: Find or Create Linear Issue for PR | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: | |
| - main | |
| types: [ "opened", "edited", "reopened", "synchronize" ] | |
| permissions: | |
| pull-requests: write | |
| repository-projects: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: false | |
| jobs: | |
| create-linear-issue-pr: | |
| # Skip if the PR is not from a fork. | |
| if: ${{ github.event.pull_request.head.repo.full_name == github.repository }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout code | |
| uses: actions/checkout@v4 | |
| - name: Find or create a Linear Issue | |
| uses: risc0/action-find-or-create-linear-issue@risc0 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| linear-api-key: ${{ secrets.LINEAR_API_KEY }} | |
| linear-team-key: "WEB3" | |
| linear-created-issue-state-id: "2505ebd6-1fbe-4b25-b2a8-792dfaa50ad9" # in progress |