File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Run CFA fetch
2
+
3
+ on :
4
+ schedule :
5
+ - cron : " 0 0 * * *" # Run nightly at midnight
6
+
7
+ jobs :
8
+ build :
9
+
10
+ runs-on : ubuntu-latest
11
+ if : github.repository_owner == "github"
12
+
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+ - name : Set up Ruby 2.6
16
+ uses : actions/setup-ruby@v1
17
+ with :
18
+ ruby-version : 2.6.x
19
+ - name : Setup Dependencies
20
+ run : |
21
+ gem install bundler
22
+ bundle install --jobs 4 --retry 3
23
+ - name : Fetch latest CFA changes
24
+ run : bundle exec script/fetch-cfa
25
+ - name : Alphabetize changes
26
+ run : bundle exec script/alphabetize
27
+ - name : Push back changes
28
+ run : |
29
+ git config user.name github-actions
30
+ git config user.email [email protected]
31
+ git add .
32
+ git commit -m "generated" || true
33
+ git push
You can’t perform that action at this time.
0 commit comments