diff --git a/.github/workflows/issue.yml b/.github/workflows/issue.yml index 65bf5c406..d46c16040 100644 --- a/.github/workflows/issue.yml +++ b/.github/workflows/issue.yml @@ -14,6 +14,6 @@ jobs: - name: 'Auto-assign issue' uses: pozil/auto-assign-issue@v2 with: - repo-token: ${{ secrets.USER_TOKEN }} + repo-token: ${{ secrets.GITHUB_TOKEN }} assignees: d3zd3z, nordicjm, de-nordic, davidvincze allowSelfAssign: true diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index b0f363a68..17c260c67 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -8,11 +8,11 @@ jobs: auto-assign: runs-on: ubuntu-latest permissions: - issues: write + pull-requests: write if: github.repository == 'mcu-tools/mcuboot' steps: - uses: actions/checkout@v1 - uses: ohnogumi/auto-reviewers@v0.0.5 with: - token: ${{ secrets.USER_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} config: CODEOWNERS