File tree Expand file tree Collapse file tree 3 files changed +47
-49
lines changed
Expand file tree Collapse file tree 3 files changed +47
-49
lines changed Original file line number Diff line number Diff line change 1+ ---
12name : Contributors
23on :
34 push :
4- branches :
5- - main
5+ branches : [main]
66 workflow_dispatch :
7- inputs :
8- logLevel :
9- description : ' manual run'
10- required : false
11- default : ' '
7+ inputs :
8+ logLevel :
9+ description : manual run
10+ required : false
11+ default : ' '
1212jobs :
1313 contributors :
1414 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1+ ---
12name : Deploy
2-
33on :
44 push :
5- branches :
6- - main
5+ branches : [main]
76 workflow_dispatch :
8-
97jobs :
108 Deploy :
119 runs-on : ubuntu-latest
1210 steps :
13- - uses : actions/checkout@v2
14- - name : Set up Ruby
15- uses : ruby/setup-ruby@v1
16- with :
17- ruby-version : 3.0
18- - name : Install dependencies
19- run : gem install erb yaml
20- - name : Run app
21- run : |
22- ruby ./scripts/erb.rb
23- - name : Make last_change
24- run : date > ./scripts/last_change
25- - name : Commit files
26- run : |
27- git config --local user.email "[email protected] " 28- git config --local user.name "WHW"
29- git add README.md ./scripts/last_change
30- git add ./categorize/*
31- git commit -m "Deploy README.md and Categorize Docs"
32- - name : Push changes
33- uses : ad-m/github-push-action@master
34- with :
35- github_token : ${{ secrets.GITHUB_TOKEN }}
36- branch : ${{ github.ref }}
11+ - uses : actions/checkout@v2
12+ - name : Set up Ruby
13+ uses : ruby/setup-ruby@v1
14+ with :
15+ ruby-version : 3.0
16+ - name : Install dependencies
17+ run : gem install erb yaml
18+ - name : Run app
19+ run : |
20+ ruby ./scripts/erb.rb
21+ - name : Make last_change
22+ run : date > ./scripts/last_change
23+ - name : Commit files
24+ run : |
25+ git config --local user.email "[email protected] " 26+ git config --local user.name "WHW"
27+ git add README.md ./scripts/last_change
28+ git add ./categorize/*
29+ git commit -m "Deploy README.md and Categorize Docs"
30+ - name : Push changes
31+ uses : ad-m/github-push-action@master
32+ with :
33+ github_token : ${{ secrets.GITHUB_TOKEN }}
34+ branch : ${{ github.ref }}
Original file line number Diff line number Diff line change 11---
2- name : YAML Lint
3- on :
4- pull_request :
5- branches : [ " main" ]
6- jobs :
7- lintAllTheThings :
8- runs-on : ubuntu-latest
9- steps :
10- - uses : actions/checkout@v3
11- - name : yaml-lint
12- uses : ibiqlik/action-yamllint@v3
13- with :
14- file_or_dir : weapons/*.yaml
15- config_file : .yamllint.yml
2+ name : YAML Lint
3+ on :
4+ pull_request :
5+ branches : [main]
6+ jobs :
7+ lintAllTheThings :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v3
11+ - name : yaml-lint
12+ uses : ibiqlik/action-yamllint@v3
13+ with :
14+ file_or_dir : weapons/*.yaml
15+ config_file : .yamllint.yml
You can’t perform that action at this time.
0 commit comments