-
Notifications
You must be signed in to change notification settings - Fork 10
37 lines (37 loc) · 982 Bytes
/
Copy pathconvert.yml
File metadata and controls
37 lines (37 loc) · 982 Bytes
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
name: Convert
on:
schedule:
- cron: "0 7 * * *"
workflow_dispatch:
jobs:
Convert:
name: Convert
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Convert
run: bash convert.sh
env:
repository: ${{ github.repository }}
- name: Release
uses: stefanzweifel/git-auto-commit-action@v5.0.0
with:
branch: release
skip_checkout: true
skip_dirty_check: true
push_options: '--force'
file_pattern: 'release/*'
commit_message: release
- name: Delete workflow runs
uses: Mattraks/delete-workflow-runs@v2.0.6
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 0
keep_minimum_runs: 1