-
Notifications
You must be signed in to change notification settings - Fork 4
48 lines (43 loc) · 1.34 KB
/
sync.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Sync labels
on:
push:
paths:
- labels.yml
schedule:
- cron: "8 0 * * 1" # run every Monday at 00:08 UTC
workflow_dispatch: # yamllint disable-line rule:empty-values
concurrency:
group: ${{ github.ref_name }}-sync
cancel-in-progress: true
jobs:
# This job sync the labels across the various repos
labels-sync:
runs-on: ubuntu-24.04
if: ${{ github.event.repository.fork == false }}
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Sync Labels
uses: micnncim/action-label-syncer@3abd5ab72fda571e69fffd97bd4e0033dd5f495c # v1.3.0
with:
manifest: labels.yml
repository: |
nginxinc/kic-test-containers
nginxinc/nginx-ingress-helm-operator
nginxinc/nginx-prometheus-exporter
nginxinc/nginx-plus-go-client
nginxinc/nginx-asg-sync
nginxinc/telemetry-exporter
token: ${{ secrets.NGINX_PAT }}
prune: true
sync-repos:
runs-on: ubuntu-24.04
permissions:
contents: write
steps:
- run: |
gh repo sync nginx-bot/certified-operators
gh repo sync nginxinc/winget-pkgs
gh repo sync nginxinc/kubernetes-json-schema
env:
GITHUB_TOKEN: ${{ secrets.NGINX_PAT }}