From 5090d04b2607b45a901a42f019ba5f1ffac41e05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sp=C3=B6ttel?= <1682504+fspoettel@users.noreply.github.com> Date: Thu, 1 Dec 2022 16:28:05 +0100 Subject: [PATCH] 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. --- .github/workflows/readme-stars.yml | 5 +++-- README.md | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/readme-stars.yml b/.github/workflows/readme-stars.yml index e1b2b1e..026095e 100644 --- a/.github/workflows/readme-stars.yml +++ b/.github/workflows/readme-stars.yml @@ -1,8 +1,9 @@ name: Update readme ⭐️ progress on: - schedule: - - cron: "51 */4 * * *" # Every 4 hours + # !Please set a different minute than 51 if you enable this! + # schedule: + # - cron: "51 */6 * * *" # Every 6 hours workflow_dispatch: jobs: diff --git a/README.md b/README.md index 216bb10..f30c9e6 100644 --- a/README.md +++ b/README.md @@ -169,6 +169,8 @@ Go to the _Secrets_ tab in your repository settings and create the following sec - `AOC_YEAR`: the year you want to track. Example: `2021` - `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. +✨ 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. + ### Use VS Code to debug your code 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).