File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Sync Maintainers
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ paths :
7+ - " src/userstyles.yml"
8+
9+ env :
10+ DENO_DIR : deno_cache
11+
12+ jobs :
13+ sync-maintainers :
14+ runs-on : ubuntu-latest
15+ name : Sync Maintainers
16+
17+ steps :
18+ - uses : actions/checkout@v3
19+ with :
20+ token : ${{ secrets.USERSTYLES_TOKEN }}
21+ ref : ${{ github.ref }}
22+
23+ - name : Set up Deno
24+ uses : denoland/setup-deno@v1
25+ with :
26+ deno-version : v1.x
27+
28+ - name : Cache Deno dependencies
29+ uses : actions/cache@v3
30+ with :
31+ key : ${{ hashFiles('src/generate/deno.lock') }}
32+ path : ${{ env.DENO_DIR }}
33+
34+ - name : Sync Maintainers
35+ working-directory : src/generate
36+ run : ./syncMaintainers.ts
37+ env :
38+ GITHUB_TOKEN : ${{ secrets.USERSTYLES_TOKEN }}
39+
40+ # yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
You can’t perform that action at this time.
0 commit comments