-
Notifications
You must be signed in to change notification settings - Fork 0
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
Create workflow to fetch puzzle #4
Comments
@sourcery-ai develop |
Objectives
File changes
Verify changes
This plan was automatically generated. |
sourcery-ai bot
added a commit
that referenced
this issue
Dec 24, 2024
CI: - Set up a workflow to automatically fetch Advent of Code puzzles daily at 5pm UTC during December and allow manual dispatch. Resolves #4
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
fetch-puzzle.yml
to fetch advent of code puzzlescron
- 5pm UTC between 1-25 December (12 hours after the puzzle is published)workflow_dispatch
- taking year and day as argumentsAOC_SESSION
:secrets.AOC_SESSION
uses: actions/checkout@v4
uses astral-sh/setup-uv@v4
anduv sync
uv run advent_of_code.py download {year} {day}
and store the stdout as thepart
in$GITHUB_OUTPUT
puzzles/year_{year}/day_{day}
with user GitHub Actionscreate-puzzle-issue.yml
using the year, day and partuses: sourcery-ai/autonomous-advent-of-code/.github/workflows/create-puzzle-issue.yml@main
The text was updated successfully, but these errors were encountered: