From e46096a0f47497cc3d33e2384a049b5d6b10adb3 Mon Sep 17 00:00:00 2001 From: Steve Worley Date: Thu, 8 Aug 2024 10:37:09 +1000 Subject: [PATCH] Update workflows. --- .github/workflows/issues-stale.yml | 1 - .github/workflows/pull-request.yml | 25 ++++++++++++------------- 2 files changed, 12 insertions(+), 14 deletions(-) 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