This repository was archived by the owner on Jul 13, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +47
-0
lines changed Expand file tree Collapse file tree 2 files changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Test
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ pull_request :
7
+ branches :
8
+ - master
9
+ jobs :
10
+ test :
11
+ runs-on : ' ubuntu-latest'
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+ - uses : mstksg/get-package@v1
15
+ with :
16
+ apt-get : shellcheck
17
+ - name : Run ShellCheck
18
+ run : |
19
+ shellcheck -V
20
+ shellcheck update.sh
Original file line number Diff line number Diff line change
1
+ name : Update release metadata
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ schedule :
7
+ - cron : ' 0 */6 * * *'
8
+ jobs :
9
+ update :
10
+ runs-on : ' ubuntu-latest'
11
+ steps :
12
+ - uses : actions/checkout@v2
13
+ - uses : mstksg/get-package@v1
14
+ with :
15
+ apt-get : jq perl curl
16
+ - name : Run update script
17
+ run : ./update.sh
18
+ - name : Commit files
19
+ run : |
20
+ git config --local user.email "[email protected] "
21
+ git config --local user.name "GitHub Action"
22
+ git add metadata/ checksums/
23
+ test -z $(git status -s) || git commit -m "Update release metadata"
24
+ - name : Push changes
25
+ uses : ad-m/github-push-action@master
26
+ with :
27
+ github_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments