File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Issue Trigger
2+
3+ on :
4+ issues :
5+ types : [edited, labeled, unlabeled]
6+ issue_comment :
7+ types : [created, edited, deleted]
8+
9+ jobs :
10+ dewhale-trigger :
11+ runs-on : ubuntu-latest
12+ name : Characters Trigger
13+ if : ${{ !contains(github.event.comment.body, '[Dewhale]') && github.event.comment.user.type != 'bot'}}
14+ steps :
15+ - name : Checkout repository
16+ uses : actions/checkout@v3
17+ - name : Setup Deno
18+ uses : denoland/setup-deno@v2
19+ - name : trigger
20+ env :
21+ # auto set by GitHub, details in
22+ # https://docs.github.com/en/actions/security-guides/automatic-token-authentication
23+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
24+ ACTOR : ${{ github.actor }}
25+ DEWHALE_CONFIG : ${{ secrets.DEWHALE_CONFIG }}
26+ run : |
27+ echo "${{ secrets.DEWHALE_CONFIG }}" > .env
28+ deno run -A jsr:@arcfra/dewhale
You can’t perform that action at this time.
0 commit comments