diff --git a/.github/workflows/check-linked-issues.yml b/.github/workflows/check-linked-issues.yml index 05d96f7..fe86053 100644 --- a/.github/workflows/check-linked-issues.yml +++ b/.github/workflows/check-linked-issues.yml @@ -1,16 +1,21 @@ name: Check linked issues - -on: +'on': pull_request_target: - types: [opened, edited, reopened, synchronize] - + types: + - opened + - edited + - reopened + - synchronize jobs: check_pull_requests: runs-on: ubuntu-latest name: Check linked issues steps: - - uses: nearform/github-action-check-linked-issues@v1 + - uses: nearform-actions/github-action-check-linked-issues@v1 id: check-linked-issues with: github-token: ${{ secrets.GITHUB_TOKEN }} - exclude-branches: "release/**, dependabot/**" + exclude-branches: release/**, dependabot/** + permissions: + issues: read + pull-requests: write