From c3bfd40158c3fa7ceb92be2ad957356dedef7356 Mon Sep 17 00:00:00 2001 From: Gergely Brautigam <182850+Skarlso@users.noreply.github.com> Date: Fri, 13 Sep 2024 12:47:32 +0200 Subject: [PATCH] feat: automatically label all issues with ipcei (#254) --- .github/workflows/auto-label.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/auto-label.yaml diff --git a/.github/workflows/auto-label.yaml b/.github/workflows/auto-label.yaml new file mode 100644 index 0000000..a256d41 --- /dev/null +++ b/.github/workflows/auto-label.yaml @@ -0,0 +1,17 @@ +name: Label issues +on: + issues: + types: + - opened +jobs: + label_issues: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - run: gh issue edit "$NUMBER" --add-label "$LABELS" + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_REPO: ${{ github.repository }} + NUMBER: ${{ github.event.issue.number }} + LABELS: area/ipcei