forked from tinted-theming/tinted-shell
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (29 loc) · 1.03 KB
/
update.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
name: Update with the latest base16-project/base16-schemes
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 0" # https://crontab.guru/every-week
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Fetch the repository code
uses: actions/checkout@v3
with:
token: ${{ secrets.BOT_ACCESS_TOKEN }}
- name: Fetch the schemes repository
uses: actions/checkout@v3
with:
repository: base16-project/base16-schemes
path: schemes
token: ${{ secrets.BOT_ACCESS_TOKEN }}
- name: Update schemes
uses: base16-project/base16-builder-go@latest
- name: Commit the changes, if any
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update with the latest base16-project colorschemes
branch: ${{ github.head_ref }}
commit_user_name: base16-project-bot
commit_user_email: [email protected]
commit_author: base16-project-bot <[email protected]>