Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent github workflow deactivation #63

Merged
merged 5 commits into from
Jan 24, 2024
Merged

Prevent github workflow deactivation #63

merged 5 commits into from
Jan 24, 2024

Conversation

SimmonsRitchie
Copy link
Contributor

@SimmonsRitchie SimmonsRitchie commented Jan 9, 2024

What's this PR do?

Adds an extra step to our scheduled scrape workflow (named "cron") that will automatically create a dummy commit in the repo if the last commit to the repo was 50 days ago. See PR 1058 in city-scrapers for more details.

[Note: This PR builds off https://github.com//pull/67, which should be reviewed first]

Why are we doing this?

We recently discovered that workflows in a number of our city-scraper repos were disabled by Github because there had been no commits in 60 days. Adding this extra step to our workflow using a third party Github action called keepalive-workflow should prevent that.

Steps to manually test

See PR 1058 in city-scrapers for more details.

Are there any smells or added technical debt to note?

See PR 1058 in city-scrapers for more details.

@SimmonsRitchie SimmonsRitchie marked this pull request as ready for review January 9, 2024 17:22
@SimmonsRitchie SimmonsRitchie marked this pull request as draft January 9, 2024 17:49
@SimmonsRitchie SimmonsRitchie marked this pull request as ready for review January 22, 2024 18:42
@SimmonsRitchie SimmonsRitchie requested a review from a team January 22, 2024 18:44
@SimmonsRitchie SimmonsRitchie merged commit db22436 into main Jan 24, 2024
2 checks passed
@SimmonsRitchie SimmonsRitchie deleted the keepalive branch January 24, 2024 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant