-
Notifications
You must be signed in to change notification settings - Fork 8
38 lines (36 loc) · 1 KB
/
gen-list.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
name: Continuous Delivery
on:
push:
branches:
- main
paths:
- 'plugins/**'
workflow_dispatch:
jobs:
gen-listing:
runs-on: ubuntu-latest
name: Execute babashka script
steps:
# To use a script from the repository,
# you must check out the repository first
- name: Checkout
uses: actions/checkout@v2
with:
token: ${{ secrets.FORCE_PUSH }}
# Now we can execute a babashka script from our
# repository
- name: setup babashka
uses: turtlequeue/[email protected]
with:
babashka-version: 1.1.173
- name: gen-list
run: bb scripts/gen-list.clj
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "chore: update plugin listing"
commit_options: '--no-verify --signoff'
repository: .
commit_user_name: "GitHub Actions"
file_pattern: "pluginlist.json"
push_options: '--force'