We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 974ca88 commit d631034Copy full SHA for d631034
1 file changed
.github/workflows/sync-cfa.yml
@@ -0,0 +1,33 @@
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
29
+ git config user.name github-actions
30
+ git config user.email github-actions@github.com
31
+ git add .
32
+ git commit -m "generated" || true
33
+ git push
0 commit comments