From e8a8752fadfa1db73940fa2d4b5f0e6fac101242 Mon Sep 17 00:00:00 2001 From: Tim Camise Date: Wed, 6 Dec 2023 09:33:07 -0800 Subject: [PATCH] Add default label to new issues (#439) --- .github/workflows/issue_management.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/issue_management.yml diff --git a/.github/workflows/issue_management.yml b/.github/workflows/issue_management.yml new file mode 100644 index 00000000..f0456dde --- /dev/null +++ b/.github/workflows/issue_management.yml @@ -0,0 +1,21 @@ +# issue_management.yml/Open GoPro, Version 2.0 (C) Copyright 2021 GoPro, Inc. (http://gopro.com/OpenGoPro). +# This copyright was auto-generated on Wed, Dev 6, 2023 5:05:35 PM + +name: Label issues +on: + issues: + types: + - reopened + - opened +jobs: + label_issues: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - run: gh issue edit "$NUMBER" --add-label "$LABELS" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_REPO: ${{ github.repository }} + NUMBER: ${{ github.event.issue.number }} + LABELS: triage