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