From 3c612315c6439f139198417c212e29fb529edcb5 Mon Sep 17 00:00:00 2001 From: Nick Robinson Date: Wed, 20 Sep 2023 22:15:00 +0100 Subject: [PATCH] Add PR template and labels (#62) --- .github/labeler.yml | 5 +++++ .github/pull_request_template.md | 13 +++++++++++++ .github/workflows/labeler.yml | 13 +++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/pull_request_template.md create mode 100644 .github/workflows/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 00000000000000..306c13a377a2c2 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,5 @@ +# See https://github.com/actions/labeler +dot: true +port-to-master: '**' +port-to-v1.10: '**' +port-to-v1.9: '**' diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000000000..b197aeb9adfab1 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,13 @@ + +## PR Description + +_What does this PR do?_ + +## Checklist + +Requirements for merging: +- [ ] I have opened an issue or PR upstream on JuliaLang/julia: +- [ ] I have removed the `port-to-*` labels that don't apply. diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 00000000000000..b9d4dd2339da0e --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,13 @@ +# See https://github.com/actions/labeler +name: "Pull Request Labeler" +on: +- pull_request_target + +jobs: + triage: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v4