Skip to content

Commit

Permalink
gpkg-to-pgdump: Disable keep-cache-fresh cron schedule
Browse files Browse the repository at this point in the history
This is to prevent GitHub from disabling the entire GitHub Actions
including push event workflow (for release assets building) altogether.

Indeed, my previous trick of trying to reduce download from Git LFS
by running a scheduled workflow thrice-weekly to keep the cache fresh
totally backfired.  According to GitHub documentation:

    Warning: To prevent unnecessary workflow runs,
    scheduled workflows may be disabled automatically. ...
    In a public repository, scheduled workflows are automatically
    disabled when no repository activity has occurred in 60 days.

See https://docs.github.com/en/actions/managing-workflow-runs/disabling-and-enabling-a-workflow
  • Loading branch information
anthonyfok committed Oct 5, 2021
1 parent c9261dc commit aeed217
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gpkg-to-pgdump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ on:
#pull_request:
# branches:
# - master
schedule:
- cron: '38 2 */3 * *'
#schedule:
# - cron: '38 2 */3 * *'
workflow_dispatch:

jobs:
Expand Down

0 comments on commit aeed217

Please sign in to comment.