From 9503eb0afa65263b437bbd317c5795d24a773cf7 Mon Sep 17 00:00:00 2001 From: Philipp Hofmann Date: Wed, 22 Dec 2021 14:12:13 +0100 Subject: [PATCH] ci: Add Default Platform Label to PRs and Issues (#107) --- .github/workflows/add-platform-label.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/add-platform-label.yml diff --git a/.github/workflows/add-platform-label.yml b/.github/workflows/add-platform-label.yml new file mode 100644 index 00000000..420cd23b --- /dev/null +++ b/.github/workflows/add-platform-label.yml @@ -0,0 +1,17 @@ +name: Add Platform Label +on: + issues: + types: [opened] + pull_request: + types: [opened] + +jobs: + add_label: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - uses: andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90 + with: + add-labels: "Platform: Cocoa" + repo-token: ${{ secrets.GITHUB_TOKEN }}