From 01f53e5aba6f540f4da1ac936239bb4f363555f0 Mon Sep 17 00:00:00 2001 From: Lukas Masuch Date: Fri, 1 Jan 2021 19:08:48 +0100 Subject: [PATCH] Add label export file --- .github/workflows/export-labels.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/export-labels.yml diff --git a/.github/workflows/export-labels.yml b/.github/workflows/export-labels.yml new file mode 100644 index 00000000..e9f92162 --- /dev/null +++ b/.github/workflows/export-labels.yml @@ -0,0 +1,21 @@ +name: Export label config +on: + # You can run this with every event, but it's better to run it only when you actually need it. + workflow_dispatch: + +jobs: + labels: + runs-on: ubuntu-latest + + steps: + - uses: EndBug/export-label-config@v1 + with: + # This is needed if you're dealing with private repos. + token: ${{ secrets.GITHUB_TOKEN }} + + # Set this to `true` if you want to get the raw API reponse. Defaults to `false`. + raw-result: false + + # By default every label entry will have an `aliases` property set to an empty array. + # It's for EndBug/label-sync, if you don't want it you cans set this to `false` + add-aliases: false