diff --git a/.github/workflows/checkforPRLabelAndAssignees.yml b/.github/workflows/checkforPRLabelAndAssignees.yml new file mode 100644 index 000000000..ca1dff69f --- /dev/null +++ b/.github/workflows/checkforPRLabelAndAssignees.yml @@ -0,0 +1,20 @@ +name: Label issues +on: + issues: + types: + - reopened + - opened + push: + +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: Ready for Review