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