-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (34 loc) · 915 Bytes
/
molt.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# =============================================================================
# File : molt.yml
# Author : yukimemi
# Last Change : 2024/08/11 23:18:22.
# =============================================================================
name: molt
on:
workflow_dispatch:
push:
branches:
- main
schedule:
- cron: "0 6 * * *"
permissions:
contents: write
pull-requests: write
jobs:
update:
name: Update
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
- run: deno task ci
- uses: hasundue/molt-action@v1
with:
labels: automerge
token: ${{ steps.app-token.outputs.token }}