Skip to content

Commit

Permalink
add github action for sync labels (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
saragluna authored Apr 20, 2022
1 parent 1cba270 commit 4673ce0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/sync-label-from-azsdk-repo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Sync Labels
on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Fetch Labels
run: curl https://api.github.com/repos/Azure/azure-sdk-for-java/labels\?per_page\=1000 | jq -c '.[] | select(.name | contains("spring"))' | jq -s >> labels.json

- name: Label Sync
uses: EndBug/[email protected]
with:
config-file: ./labels.json
dry-run: false

0 comments on commit 4673ce0

Please sign in to comment.