File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66# https://github.com/simonw/ca-fires-history/blob/main/.github/workflows/scrape.yml
77# https://github.com/openZH/covid_19/blob/master/.github/workflows/run_scrapers.yml
88
9- name : Run miner
9+ name : miner
1010
1111# Controls when the action will run.
1212on :
6464
6565 - name : Set commit message # If there are file change(s)
6666 if : steps.changes.outputs.changed == 1
67+ # Time stamp would look like 2021-02-02T19:26:18+00:00
6768 run : |
68- echo "commit_msg=`osmine` Action ${timestamp}" >> $GITHUB_ENV
69+ timestamp=$(date -Iseconds -u)
70+ echo "commit_msg=\`osmine\` action ${timestamp}" >> $GITHUB_ENV
6971
7072 - name : Commit new file
7173 if : steps.changes.outputs.changed == 1
Original file line number Diff line number Diff line change @@ -151,8 +151,6 @@ def read_config() -> dict:
151151
152152 # Check if GitHub authentication key string looks correct
153153 # AFAIK the token should be exactly 40 alphanumeric characters
154- barbaz : str = configuration ["GitHub_token" ][::- 1 ]
155- print (f"foobar abc-{ barbaz } -123" , file = sys .stderr )
156154 try :
157155 assert (configuration ["GitHub_token" ].isalnum () and len (configuration ["GitHub_token" ]) == 40 )
158156 except AssertionError :
You can’t perform that action at this time.
0 commit comments