29 lines
628 B
YAML
29 lines
628 B
YAML
name: Sync Maintainers
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
paths:
|
|
- "scripts/userstyles.yml"
|
|
|
|
jobs:
|
|
sync-maintainers:
|
|
name: Sync maintainers
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
ref: ${{ github.ref }}
|
|
|
|
- name: Setup Deno
|
|
uses: nekowinston/setup-deno@main
|
|
with:
|
|
deno-version: v2.1.3
|
|
|
|
- name: Sync maintainers
|
|
if: ${{ github.repository == 'catppuccin/userstyles' && github.ref == 'refs/heads/main' }}
|
|
run: deno task sync-maintainers
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.USERSTYLES_TOKEN }}
|