Skip to content

Commit 9022b3d

Browse files
committed
Re-enable automatic, scheduled Actions workflow
It seems BigQuery has started updating the Hacker News dataset again. Revert "Disable automatic, scheduled Actions workflow" This reverts commit a2f00ca.
1 parent a2f00ca commit 9022b3d

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.github/workflows/generate-bloomfilter.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,9 @@ name: Generate Bloom Filters
1010
# Run once every 24 hours because the BigQuery database is updated once every
1111
# 24 hours. Also run when manually triggered.
1212
on:
13-
# Automatic running disabled for now since BigQuery is not working in GitHub
14-
# Actions, and since the BigQuery Hacker News dataset is not up-to-date
15-
# anyway:
16-
#
17-
# - https://issuetracker.google.com/issues/315864442
18-
# - https://issuetracker.google.com/issues/261579123
19-
#
20-
# I'll get around to fixing this someday.
21-
#
22-
# schedule:
13+
schedule:
2314
# This time is based loosely around when the BigQuery data updates
24-
# - cron: "5 16 * * *"
15+
- cron: "5 16 * * *"
2516
workflow_dispatch:
2617

2718

@@ -50,6 +41,7 @@ jobs:
5041
# it from outputting the annoying welcome message directly into the
5142
# CSV we are attempting to process
5243
bq query \
44+
--project_id=hacker-news-analysis-300719 \
5345
--use_legacy_sql=false \
5446
'SELECT COUNT(*) FROM `bigquery-public-data.hacker_news.full`
5547
WHERE type = "story"'
@@ -62,6 +54,7 @@ jobs:
6254
run: |
6355
# Note that max_rows must be an unsigned, 32-bit int
6456
bq query \
57+
--project_id=hacker-news-analysis-300719 \
6558
--format csv \
6659
--max_rows 99999999 \
6760
--use_legacy_sql=false \

0 commit comments

Comments
 (0)