mirror of
https://github.com/sern-handler/awesome-plugins
synced 2026-06-06 01:16:51 +00:00
40 lines
1.3 KiB
YAML
40 lines
1.3 KiB
YAML
name: "Generate Plugin Listing"
|
|
|
|
on:
|
|
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
|
|
# Now we can execute a babashka script from our
|
|
# repository
|
|
- name: setup babashka
|
|
uses: turtlequeue/setup-babashka@v1.5.0
|
|
with:
|
|
babashka-version: 1.1.173
|
|
- name: gen-list
|
|
run: bb scripts/gen-list.clj
|
|
- name: Create Pull Request
|
|
id: cpr
|
|
uses: peter-evans/create-pull-request@v5-beta
|
|
with:
|
|
commit-message: "chore: Update plugins listing"
|
|
branch: js
|
|
delete-branch: true
|
|
branch-suffix: short-commit-hash
|
|
title: "chore: Update Plugin Listing"
|
|
body: "asfl;asdkcng;lfkv;lajf;bflglfsafs;af"
|
|
reviewers: jacoobes
|
|
- name: Enable Pull Request Automerge
|
|
if: steps.cpr.outputs.pull-request-operation == 'created'
|
|
uses: peter-evans/enable-pull-request-automerge@v2
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
|
|
merge-method: squash |