Skip to content

Commit 69f3327

Browse files
committed
Merge #484: ci: fixup labels workflow
483cc04 ci: fixup labels workflow (Cameron Garnham) Pull request description: ACKs for top commit: da2ce7: ACK 483cc04 Tree-SHA512: a1a47f187de9bf80625fb2757c824fa2a978bbe2306667403dc1bf1aee3e116741297d99c482b39b1c4ffa874b5191db01cdb2f9e14ded8d2e02b889a30fab12
2 parents 97ca502 + 483cc04 commit 69f3327

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/labels.yaml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,30 @@
11
name: Manage Labels
22
on:
33
workflow_dispatch:
4+
push:
5+
branches:
6+
- develop
7+
paths:
8+
- "/.github/labels.json"
49

510
jobs:
6-
labels:
11+
export:
712
runs-on: ubuntu-latest
813

914
steps:
10-
- id: export
15+
- id: backup
1116
name: Export Labels to Workflow Artifacts
1217
uses: EndBug/export-label-config@v1
1318

19+
sync:
20+
needs: export
21+
runs-on: ubuntu-latest
22+
23+
steps:
24+
- id: checkout
25+
name: Checkout Repository
26+
uses: actions/checkout@v4
27+
1428
- id: sync
1529
name: Apply Labels from File
1630
uses: EndBug/label-sync@v2

0 commit comments

Comments
 (0)