File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 6
6
# https://github.com/simonw/ca-fires-history/blob/main/.github/workflows/scrape.yml
7
7
# https://github.com/openZH/covid_19/blob/master/.github/workflows/run_scrapers.yml
8
8
9
- name : Run miner
9
+ name : miner
10
10
11
11
# Controls when the action will run.
12
12
on :
64
64
65
65
- name : Set commit message # If there are file change(s)
66
66
if : steps.changes.outputs.changed == 1
67
+ # Time stamp would look like 2021-02-02T19:26:18+00:00
67
68
run : |
68
- echo "commit_msg=`osmine` Action ${timestamp}" >> $GITHUB_ENV
69
+ timestamp=$(date -Iseconds -u)
70
+ echo "commit_msg=\`osmine\` action ${timestamp}" >> $GITHUB_ENV
69
71
70
72
- name : Commit new file
71
73
if : steps.changes.outputs.changed == 1
Original file line number Diff line number Diff line change @@ -151,8 +151,6 @@ def read_config() -> dict:
151
151
152
152
# Check if GitHub authentication key string looks correct
153
153
# 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 )
156
154
try :
157
155
assert (configuration ["GitHub_token" ].isalnum () and len (configuration ["GitHub_token" ]) == 40 )
158
156
except AssertionError :
You can’t perform that action at this time.
0 commit comments