Skip to content

Update userstyles.yml #12

Update userstyles.yml

Update userstyles.yml #12

Workflow file for this run

name: Sync Maintainers
on:
workflow_dispatch:
push:
paths:
- "src/userstyles.yml"
env:
DENO_DIR: deno_cache
jobs:
sync-maintainers:
runs-on: ubuntu-latest
name: Sync Maintainers
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
- name: Set up Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Cache Deno dependencies
uses: actions/cache@v3
with:
key: ${{ hashFiles('src/generate/deno.lock') }}
path: ${{ env.DENO_DIR }}
- name: Sync Maintainers
if: ${{ github.repository == 'catppuccin/userstyles' && github.ref == 'refs/heads/main' }}
working-directory: src/generate
run: ./syncMaintainers.ts
env:
GITHUB_TOKEN: ${{ secrets.USERSTYLES_TOKEN }}
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json