diff --git a/.github/workflows/auto-label-doc6.yml b/.github/workflows/auto-label-doc6.yml new file mode 100644 index 0000000000..8fe47145be --- /dev/null +++ b/.github/workflows/auto-label-doc6.yml @@ -0,0 +1,23 @@ +name: Auto Label PRs +on: + pull_request: + types: + - opened + +jobs: + auto-label: + runs-on: ubuntu-latest + permissions: + pull-requests: write + + steps: + - name: Add label to PR + uses: actions/github-script@v7 + with: + script: | + await github.rest.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.issue.number, + labels: ['temp: port to doc6'] + });