Skip to content

Add label export file #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 1, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/export-labels.yml
Original file line number Diff line number Diff line change
@@ -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