Skip to content

repo-sync-2024-02-22T15:35:24+0800 #1

repo-sync-2024-02-22T15:35:24+0800

repo-sync-2024-02-22T15:35:24+0800 #1

Workflow file for this run

# This workflow updates our GitHub Labels using https://github.com/Financial-Times/github-label-sync
# Labels are defined in .github/workflows/config/labels.yml
# See that file for specific instructions on making changes.
name: 'GitHub: update labels'
on:
workflow_dispatch:
push:
branches:
- main
paths:
- .github/workflows/config/labels.yml
- .github/workflows/update-labels.yml
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Use pnpm
uses: pnpm/action-setup@v2
with:
version: ^7.29
run_install: false
- name: Run github-label-sync
run:
pnpm dlx github-label-sync --labels .github/workflows/config/labels.yml
--access-token ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }}