Skip to content

Commit 5090d04

Browse files
committed
ci: disable readme_stars.schedule by default
reason: if enough people use the default cron, this results in traffic burst. document the need to change the schedule.
1 parent f0a1ebe commit 5090d04

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Diff for: .github/workflows/readme-stars.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: Update readme ⭐️ progress
22

33
on:
4-
schedule:
5-
- cron: "51 */4 * * *" # Every 4 hours
4+
# !Please set a different minute than 51 if you enable this!
5+
# schedule:
6+
# - cron: "51 */6 * * *" # Every 6 hours
67
workflow_dispatch:
78

89
jobs:

Diff for: README.md

+2
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ Go to the _Secrets_ tab in your repository settings and create the following sec
169169
- `AOC_YEAR`: the year you want to track. Example: `2021`
170170
- `AOC_SESSION`: an active session[^2] for the advent of code website. To get this, press F12 anywhere on the Advent of Code website to open your browser developer tools. Look in your Cookies under the Application or Storage tab, and copy out the `session` cookie.
171171

172+
✨ You can now run this action manually via the _Run workflow_ button on the workflow page. If you want the workflow to run automatically, uncomment the `schedule` section in the `readme-stars.yml` workflow file or add a `push` trigger.
173+
172174
### Use VS Code to debug your code
173175

174176
1. Install [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer) and [CodeLLDB](https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb).

0 commit comments

Comments
 (0)