From fe328f6a303ae20525139a8428972891f7173e72 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Wed, 24 Jan 2024 12:55:50 -0500 Subject: [PATCH 1/3] chore(ci): auto assign issues --- .github/workflows/assign-issues.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/assign-issues.yml diff --git a/.github/workflows/assign-issues.yml b/.github/workflows/assign-issues.yml new file mode 100644 index 00000000000..65434db5f0f --- /dev/null +++ b/.github/workflows/assign-issues.yml @@ -0,0 +1,19 @@ +name: Assign issues to triage + +on: + issues: + types: [opened] + +jobs: + auto-assign: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - name: 'Auto-assign issue' + uses: pozil/auto-assign-issue@edee9537367a8fbc625d27f9e10aa8bad47b8723 # v1.13.0 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + teams: framework + numOfAssignee: 1 + allowSelfAssign: false From 295e4050fa5f52f193a367bbc7a7bd6743908f91 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Wed, 24 Jan 2024 13:01:39 -0500 Subject: [PATCH 2/3] fix indentation --- .github/workflows/assign-issues.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/assign-issues.yml b/.github/workflows/assign-issues.yml index 65434db5f0f..30c7440a6bc 100644 --- a/.github/workflows/assign-issues.yml +++ b/.github/workflows/assign-issues.yml @@ -9,11 +9,11 @@ jobs: runs-on: ubuntu-latest permissions: issues: write - steps: - - name: 'Auto-assign issue' - uses: pozil/auto-assign-issue@edee9537367a8fbc625d27f9e10aa8bad47b8723 # v1.13.0 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - teams: framework - numOfAssignee: 1 - allowSelfAssign: false + steps: + - name: 'Auto-assign issue' + uses: pozil/auto-assign-issue@edee9537367a8fbc625d27f9e10aa8bad47b8723 # v1.13.0 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + teams: framework + numOfAssignee: 1 + allowSelfAssign: false From f57c07ea1d64fd13b49782cb80269ac876246600 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Wed, 24 Jan 2024 13:17:37 -0500 Subject: [PATCH 3/3] use correct token --- .github/workflows/assign-issues.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/assign-issues.yml b/.github/workflows/assign-issues.yml index 30c7440a6bc..7a9eb75fd4a 100644 --- a/.github/workflows/assign-issues.yml +++ b/.github/workflows/assign-issues.yml @@ -13,7 +13,7 @@ jobs: - name: 'Auto-assign issue' uses: pozil/auto-assign-issue@edee9537367a8fbc625d27f9e10aa8bad47b8723 # v1.13.0 with: - repo-token: ${{ secrets.GITHUB_TOKEN }} + repo-token: ${{ secrets.IONITRON_TOKEN }} teams: framework numOfAssignee: 1 allowSelfAssign: false