Skip to content

Sync labels

Sync labels #12

Workflow file for this run

name: Sync labels
on:
push:
paths:
- labels.yml
schedule:
- cron: "8 0 * * 1" # run every Monday at 00:08 UTC
workflow_dispatch:
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-22.04
if: ${{ github.event.repository.fork == false }}
steps:
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Sync Labels
uses: micnncim/action-label-syncer@3abd5ab72fda571e69fffd97bd4e0033dd5f495c # v1.3.0
with:
manifest: labels.yml
repository: |
nginxinc/kubernetes-ingress
nginxinc/kic-test-containers
nginxinc/nginx-ingress-helm-operator
nginxinc/nginx-prometheus-exporter
nginxinc/nginx-plus-go-client
nginxinc/nginx-asg-sync
token: ${{ secrets.NGINX_PAT }}
prune: true