Commit graph

18 commits

Author SHA1 Message Date
6ad9425bfe
feat(chores): add new team members to chore assignments
Added Flanders, H08, and H09 to the weekly chore checklist and assigned new tasks to them. This update ensures all tasks are properly distributed among team members, improving workload management.
2024-07-28 21:23:52 +02:00
41c085b7c1
chore(docs): update Weekly Chores pipeline reference
Switched the Weekly Chores pipeline path in the README from `scripts/chores.py` to `.forgejo/workflows/chores.yml`.

This change ensures the documentation accurately reflects the current location of the pipeline configuration. No functionality changes are involved.
2024-07-28 20:55:23 +02:00
c055c027f9
docs: update README to add pipeline details
Expands README with information about the purpose of the repository,
specifically detailing the pipelines it contains. Adds a link to
Private.coffee and descriptions of the weekly chores pipeline to
make the repository's functionality clearer to new users.
2024-07-28 20:52:52 +02:00
e575fd9e08
feat: automate weekly chores management
- Initialized .gitignore to exclude virtual environment
- Added a comprehensive chores checklist as a markdown file
- Introduced development dependencies (ruff, black) in requirements-dev.txt
- Updated chores script to read tasks from the markdown file instead of an environment variable, improving task organization and maintainability
2024-07-28 20:41:30 +02:00
965d1a41f1
Enabled scheduled execution for chores workflow
Uncommented the cron job in the chores workflow configuration, setting
it to run automatically at noon every Friday. This change facilitates
regular, automated maintenance tasks without manual intervention.
2024-02-18 13:35:18 +01:00
8cb6718dca
Refactor workflow env var references
All checks were successful
/ chores (push) Successful in 19s
Updated `.forgejo/workflows/chores.yml` to use `vars` context for
environment variables, ensuring consistent variable scoping and improved
maintainability. This change simplifies the way variables are managed in
GitHub Actions workflow.
2024-02-18 13:33:46 +01:00
11bde9e12d
Updated chore due date to ISO 8601 format
All checks were successful
/ chores (push) Successful in 19s
Ensured that the 'due_date' variable is now formatted in strict ISO 8601
compliance by removing microseconds and appending 'Z' to indicate UTC.
This change aids in consistent date-time parsing across different
systems and services that expect a standardized timestamp without
fractional seconds.
2024-02-18 13:27:24 +01:00
d5fe6d18a4
Add logging for issue creation payload
Some checks failed
/ chores (push) Failing after 17s
Introduce a debug print statement to log the payload before creating an
issue in the `chores.py` script. This aids in tracing outgoing data and
facilitates easier troubleshooting of the issue creation process.
2024-02-18 13:25:53 +01:00
1df648ca81
Update authentication method for chore script
Some checks failed
/ chores (push) Failing after 12s
Refactor the authentication in the chore script by removing the 'token'
field from the payload and including it in the header as
'Authorization'. This change enhances security practices by aligning
with standard HTTP authorization protocols.
2024-02-18 13:23:54 +01:00
623115295a
Optimize default URL fallback mechanism
Some checks failed
/ chores (push) Failing after 14s
Refactored the assignment of FORGEJO_URL to use a more idiomatic fallback approach in case the environment variable is not set. This change ensures that None values are handled correctly and the default URL is used when the environment variable FORGEJO_URL is undefined, enhancing reliability.
2024-02-18 13:22:23 +01:00
3d13ae755a
Enhance env var handling in chore script
Some checks failed
/ chores (push) Failing after 16s
Refactored the chores script to improve the robustness of environment
variable handling. This includes mandatory checks for the FORGEJO_TOKEN
and default values or prompts for missing optional environment
variables. Added assertion to ensure the token is present after
retrieval which, combined with the KeyError, will provide better error
handling. Optional variables now use a fallback value directly in the
get method for concise expression.

Resolves issue with silent failures when required environment settings
are not provided.
2024-02-18 13:21:39 +01:00
619d7e9fef
Ensure EXPIRY_DAYS is an integer from env variable
Some checks failed
/ chores (push) Failing after 16s
Casting `CHORES_EXPIRY_DAYS` environment variable to int ensures that
the expiry days value is correctly interpreted for use throughout the
application without type errors. This small but critical change
guarantees consistent behavior when dealing with time-based logic. No
issue reference provided.
2024-02-18 13:19:03 +01:00
1d8f8c63df
Enhanced workflow with environment variables
Some checks failed
/ chores (push) Failing after 13s
Introduced a set of environment variables in the CI workflow
configuration to align with the chores script's requirements. The
workflow now passes explicit values for necessary variables, matching
the environment variable name changes in the chores script for
consistency and clarity. Ensured correct token usage by updating TO
token reference. This change facilitates better configuration management
and error handling in automated tasks.
2024-02-18 13:13:51 +01:00
bae80c59fe
Switch auth token env var for pipeline
Some checks failed
/ chores (push) Failing after 15s
compatibility

Updated the environment variable for authentication to align with the
pipeline's token-naming conventions, improving integration and
consistency across our automated workflows. Error messaging reflects
this change for clarity during troubleshooting.
2024-02-18 13:07:14 +01:00
e39eca5352
Add checkout step to chores workflow
Some checks failed
/ chores (push) Failing after 27s
Adds a repository checkout step in the chores CI workflow to ensure code
is available for subsequent chore automation tasks. This update enables
the proper execution of the automated script for generating chores
issues.
2024-02-18 11:53:10 +01:00
f8a4ae8786
Trigger chores workflow on push events
Some checks failed
/ chores (push) Failing after 8s
Updated the trigger event for the chores workflow from on commit to on
push to ensure the workflow runs whenever code is pushed to the
repository. This enhances automation by aligning the execution of
routine tasks with code integration practices.
2024-02-18 11:47:42 +01:00
94cd8089b1
Add automated chores issue creation workflow
Implemented a new Forgejo Action workflow to automatically create weekly
chores issues based on a Python script. This workflow triggers on
commits and the Python script uses project-specific environment
variables to customize the issue creation, including setting due dates
and assigning users. Streamlines project maintenance and ensures regular
task management.
2024-02-18 11:46:52 +01:00
7a23fb6cf0 Initial commit 2024-02-18 09:53:51 +00:00