ci: clean up and simplify workflows (#1541)
This commit is contained in:
1 parent
21bec677c8
commit
2c4eefa877
10 files changed
+43
-59
No files matched your search
@@ -3,18 +3,16 @@ name: Sync Maintainers
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
paths:
|
||||
- "scripts/userstyles.yml"
|
||||
branches: [main]
|
||||
paths: ["scripts/userstyles.yml"]
|
||||
|
||||
jobs:
|
||||
sync-maintainers:
|
||||
name: Sync maintainers
|
||||
if: github.repository == 'catppuccin/userstyles'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ github.ref }}
|
||||
|
||||
- name: Setup Deno
|
||||
uses: nekowinston/setup-deno@main
|
||||
@@ -22,7 +20,6 @@ jobs:
|
||||
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 }}
|
||||
Reference in new issue
Block a user