diff --git a/.github/workflows/issues-stale.yml b/.github/workflows/issues-stale.yml index f5326a25..303d1e37 100644 --- a/.github/workflows/issues-stale.yml +++ b/.github/workflows/issues-stale.yml @@ -18,4 +18,3 @@ jobs: close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale." days-before-pr-stale: -1 days-before-pr-close: -1 - repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 204a2939..b1768045 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -1,18 +1,17 @@ name: PR assignment on: - pull_request: - types: [opened, edited, synchronize, reopened] + pull_request: + types: [opened, edited, synchronize, reopened] jobs: - auto-assign: - runs-on: ubuntu-latest - permissions: - issues: write - steps: - - name: 'Auto-assign PR' - uses: pozil/auto-assign-issue@v2 - with: - repo-token: ${{ secrets.MY_PERSONAL_ACCESS_TOKEN }} - teams: support - numOfAssignee: 1 + auto-assign: + runs-on: ubuntu-latest + permissions: + pull-requests: write + steps: + - name: 'Auto-assign PR' + uses: pozil/auto-assign-issue@v2 + with: + assignees: steveworley,yusufhm + numOfAssignee: 1