From f65a3eb1bfac4822f1b94b51cd838cd3d34b0372 Mon Sep 17 00:00:00 2001 From: Garethe <16295055+RaggedStaff@users.noreply.github.com> Date: Sat, 21 Feb 2026 17:42:10 +0000 Subject: [PATCH 1/3] Add GitHub Actions workflow for auto-assigning issues Created a GH Action to auto-assign new issues to @datafoodconsortium/ontology-maintainers --- .github/workflows/main.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..58e4c3b --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,18 @@ +name: Auto Assign +on: + issues: + types: [opened] + pull_request: + types: [opened] +jobs: + run: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - name: 'Auto-assign issue' + uses: pozil/auto-assign-issue + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + teams: ontology-maintainers From e9ace8b1da31b53485ee9c4b2ab795204f383b2c Mon Sep 17 00:00:00 2001 From: Garethe <16295055+RaggedStaff@users.noreply.github.com> Date: Sat, 21 Feb 2026 17:44:56 +0000 Subject: [PATCH 2/3] Added PAT Runner requires a PAT for assigning to teams. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 58e4c3b..3d57f75 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,5 +14,5 @@ jobs: - name: 'Auto-assign issue' uses: pozil/auto-assign-issue with: - repo-token: ${{ secrets.GITHUB_TOKEN }} + repo-token: ${{ secrets.RAGGEDSTAFF_PAT }} teams: ontology-maintainers From 1b9f815817a522a452a4e0a73f2456cd033f9ac8 Mon Sep 17 00:00:00 2001 From: Garethe <16295055+RaggedStaff@users.noreply.github.com> Date: Sat, 21 Feb 2026 17:46:18 +0000 Subject: [PATCH 3/3] Update auto-assign-issue action to version 2 --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3d57f75..f474878 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ jobs: pull-requests: write steps: - name: 'Auto-assign issue' - uses: pozil/auto-assign-issue + uses: pozil/auto-assign-issue@v2 with: repo-token: ${{ secrets.RAGGEDSTAFF_PAT }} teams: ontology-maintainers