Files
shaka-packager/.github/workflows/sync-labels.yaml
Shaka Bot 091f0f3e03
Some checks failed
Release / Settings (push) Has been cancelled
Release / Update NPM (push) Has been cancelled
Release / release (push) Has been cancelled
Release / Compute latest release flag (push) Has been cancelled
Release / Update docs (push) Has been cancelled
Release / Update docker image (push) Has been cancelled
Release / Build (push) Has been cancelled
Release / Artifacts (push) Has been cancelled
chore: Sync common workflows (#1465)
This is an automated sync of common workflows for this organization.
The upstream source is:

be928d3061

Co-authored-by: Shaka Bot <shaka-bot@users.noreply.github.com>
2024-12-18 08:35:37 -08:00

40 lines
1.1 KiB
YAML

# Install this in .github/workflows/ to automate label updates
name: Sync Labels
on:
workflow_dispatch:
# Allows for manual triggering.
inputs:
dry_run:
description: "If true, don't make any actual changes"
required: false
default: false
schedule:
# Run every week on Sunday at 5:42 AM.
- cron: '42 5 * * 0'
jobs:
sync-labels:
runs-on: ubuntu-latest
permissions:
# "Write" to Issues to manage labels for the repo
issues: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
repository: shaka-project/shaka-github-tools
persist-credentials: false
# TODO: revert to micnncim and new release after landing
# https://github.com/micnncim/action-label-syncer/pull/68
- uses: joeyparrish/action-label-syncer@v1.8.0
with:
dry_run: ${{ github.event.inputs.dry_run || false }}
prune: true
manifest: sync-labels/configs/${{ github.repository }}.yaml
repository: ${{ github.repository }}
token: ${{ github.token }}