name: sync-labels on: workflow_dispatch: push: branches: - main paths: - .github/labels.yaml permissions: contents: read jobs: labels: name: Run sync runs-on: ubuntu-latest permissions: issues: write steps: - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - uses: EndBug/label-sync@da00f2c11fdb78e4fae44adac2fdd713778ea3e8 # v2.3.2 with: # Configuration file config-file: | https://raw.githubusercontent.com/fluxcd/community/main/.github/standard-labels.yaml .github/labels.yaml # Strictly declarative delete-other-labels: true