-
Notifications
You must be signed in to change notification settings - Fork 23
41 lines (35 loc) · 1.06 KB
/
plugin-updater.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
41
name: Plugin Updater
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
Update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.UPDATER }}
- uses: actions/setup-python@v2
with:
python-version: "3.x"
- name: Install Dependencies
run: pip install -r ./ci/envs/requirements-plugin.txt
- name: Update Plugin Informations
run: python ./ci/src/plugin_updater.py
env:
GH_TOKEN: ${{ github.token }}
REPOSITORY: "Flow-Launcher/Flow.Launcher.PluginsManifest"
PLUGIN_JSON: "plugins.json"
PLUGIN_MARKDOWN: "plugins.md"
PLUGIN_NAME: "Name"
PLUGIN_AUTHOR: "Author"
PLUGIN_DESCRIPTION: "Description"
PLUGIN_VERSION: "Version"
PLUGIN_WEBSITE: "Website"
- name: Commit & Push changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "DOC: update plugin list"
push_options: --force
branch: main