Sync labels in the declarative way #7629
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Sync labels in the declarative way | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
schedule: | |
- cron: '0 12 * * MON' | |
jobs: | |
sync-labels: | |
runs-on: ubuntu-latest | |
if: github.repository == 'ProjectPythia/.github' | |
strategy: | |
matrix: | |
repository: | |
- ProjectPythia/.github | |
- ProjectPythia/actions | |
- ProjectPythia/projectpythia.github.io | |
- ProjectPythia/pythia-foundations | |
- ProjectPythia/pythia-datasets | |
- ProjectPythia/sphinx-pythia-theme | |
- ProjectPythia/cmip6-cookbook | |
- ProjectPythia/cookbook-template | |
- ProjectPythia/HRRR-AWS-cookbook | |
- ProjectPythia/dask-cookbook | |
- ProjectPythia/landsat-ml-cookbook | |
- ProjectPythia/cookbook-actions | |
- ProjectPythia/cookbook-gallery | |
- ProjectPythia/github-sandbox | |
- ProjectPythia/pythia-cookoff-2023 | |
- ProjectPythia/metpy-cookbook | |
- ProjectPythia/gridding-cookbook | |
- ProjectPythia/cesm-lens-aws-cookbook | |
- ProjectPythia/radar-cookbook | |
- ProjectPythia/xbatcher-ML-1-cookbook | |
- ProjectPythia/kerchunk-cookbook | |
- ProjectPythia/packaging-cookbook | |
- ProjectPythia/librarynb | |
- ProjectPythia/physical-oceanography-cookbook | |
- ProjectPythia/intake-cookbook | |
- ProjectPythia/xgcm-cookbook | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: micnncim/action-label-syncer@v1 | |
with: | |
manifest: .github/labels.yml | |
repository: ${{ matrix.repository }} | |
token: ${{ secrets.GH_PERSONAL_TOKEN }} |