Commit dfbb2ee 1 parent a509f7c commit dfbb2ee Copy full SHA for dfbb2ee
File tree 1 file changed +31
-0
lines changed
1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Download and commit considerations CSV
2
+
3
+ on :
4
+ schedule :
5
+ - cron : ' 0 0 * * *'
6
+ workflow_dispatch :
7
+
8
+ jobs :
9
+ download_and_commit :
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - name : Checkout repository
14
+ uses : actions/checkout@v3
15
+
16
+ - name : Download file
17
+ run : |
18
+ curl -o data/planning-considerations.csv https://considerations.planning-data.dev/planning-consideration/planning-considerations.csv
19
+
20
+ - name : Set up git
21
+ run : |
22
+ git config --global user.name 'github-actions[bot]'
23
+ git config --global user.email 'github-actions[bot]@users.noreply.github.com'
24
+
25
+ - name : Commit and push changes
26
+ run : |
27
+ git add data/planning-considerations.csv
28
+ git commit -m "Add downloaded planning-considerations.csv file"
29
+ git push
30
+ env :
31
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments