From e920a78c12dcec48e464b283d6de4f4e75ad2460 Mon Sep 17 00:00:00 2001 From: Averi Kitsch Date: Thu, 16 Oct 2025 16:01:45 -0700 Subject: [PATCH 1/2] feat: add issue and pr assignment workflows --- .github/workflows/assign-issues.yml | 32 +++++++++++++++++++++++++++++ .github/workflows/assign-prs.yml | 32 +++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 .github/workflows/assign-issues.yml create mode 100644 .github/workflows/assign-prs.yml diff --git a/.github/workflows/assign-issues.yml b/.github/workflows/assign-issues.yml new file mode 100644 index 0000000..1266157 --- /dev/null +++ b/.github/workflows/assign-issues.yml @@ -0,0 +1,32 @@ +# Copyright 2025 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +name: Issue assignment + +on: + issues: + types: [opened] + +jobs: + auto-assign: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - name: "Auto-assign issue" + uses: pozil/auto-assign-issue@v2 + with: + assignees: + numOfAssignee: 1 + abortIfPreviousAssignees: true diff --git a/.github/workflows/assign-prs.yml b/.github/workflows/assign-prs.yml new file mode 100644 index 0000000..27c9f53 --- /dev/null +++ b/.github/workflows/assign-prs.yml @@ -0,0 +1,32 @@ +# Copyright 2025 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +name: PR assignment + +on: + pull_request: + types: [opened, edited, synchronize, reopened] + +jobs: + auto-assign: + runs-on: ubuntu-latest + permissions: + pull-requests: write + steps: + - name: "Auto-assign PR" + uses: pozil/auto-assign-issue@v2 + with: + assignees: + numOfAssignee: 1 + abortIfPreviousAssignees: true From 347580cce0b9a439c5268b285cb7ea6b21e1e8f2 Mon Sep 17 00:00:00 2001 From: Averi Kitsch Date: Thu, 16 Oct 2025 16:26:11 -0700 Subject: [PATCH 2/2] ci: assign issues and prs --- .github/workflows/assign-issues.yml | 2 +- .github/workflows/assign-prs.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/assign-issues.yml b/.github/workflows/assign-issues.yml index 1266157..1dffe25 100644 --- a/.github/workflows/assign-issues.yml +++ b/.github/workflows/assign-issues.yml @@ -27,6 +27,6 @@ jobs: - name: "Auto-assign issue" uses: pozil/auto-assign-issue@v2 with: - assignees: + assignees: ajupazhamayil,dolphin1999,rachelhmyang,Myst9 numOfAssignee: 1 abortIfPreviousAssignees: true diff --git a/.github/workflows/assign-prs.yml b/.github/workflows/assign-prs.yml index 27c9f53..972278a 100644 --- a/.github/workflows/assign-prs.yml +++ b/.github/workflows/assign-prs.yml @@ -27,6 +27,6 @@ jobs: - name: "Auto-assign PR" uses: pozil/auto-assign-issue@v2 with: - assignees: + assignees: ajupazhamayil,dolphin1999,rachelhmyang,Myst9 numOfAssignee: 1 abortIfPreviousAssignees: true