File tree 1 file changed +35
-0
lines changed
1 file changed +35
-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 : Ensure that all are still orgs
26
+ run : bundle exec script/ensure-orgs
27
+ - name : Alphabetize changes
28
+ run : bundle exec script/alphabetize
29
+ - name : Push back changes
30
+ run : |
31
+ git config user.name github-actions
32
+ git config user.email [email protected]
33
+ git add .
34
+ git commit -m "generated" || true
35
+ git push
You can’t perform that action at this time.
0 commit comments