NOTE: As of 5-28-2024 This project is not actively maintained by ODI and this repo is being converted to Archive (read-only) status.
Scans the Covid19 repo for translation PRs and merges them.
- Targeting the
Master
branch. - Has the
Translated Content
label. - PR is NOT
draft
. - PR is
open
. - PR is
mergeable
. - All checks have passed.
- All changed files are in the
pages/translated-posts
path. - All updates are free of non-printable characters, with some exceptions for Arabic control.
PR branches are deleted on merge.
Scans the Covid Static Data repo for automation PRs and merges them.
- Combines PRs that are labeled for rollup.
- Any PRs labeled
Add to Rollup
will be combined into a PR labeledRollup
. - All labels will be copied from the original PR to the rollup PR.
- The original PR will be closed and the branch deleted.
- The Rollup PR will be re-used as long as it is open.
- Any PR with a
Publish at xxx
label that references a time that has passed, but not more than 15 minutes, will be labeledPublish ASAP
.
- Any PR labeled
Publish ASAP
will be merged- Except if it is NOT
mergeable
. - Except if it is labeled
Do Not Publish
.
- Except if it is NOT
- Any PR that could not be merged because of exceptions will be reported as
skipped
. - A report of merges and skipped PRs will be sent to Slack.
To develop in VSCode install azure functions core tools
This will allow you to run commands like func new
which will take you through a command line wizard to scaffold a new function.
A good way to execute a single function locally is to launch it from the debugger in VSCode
The functions available to launch this way are setup in the .vscode/launch.json
file. When dealing with timer trigger functions you can point directly at the function index.js file so it won't try to help debug your cron expression but will run the function itself.
You can insert breakpoints and run specific functions locally this way.
If you aren't using the debugger and are starting the entire project locally you are running the risk of some timer trigger function executing based on your local system clock. This project contains many functions. If it is started locally outside of debug mode all of them will activate and begin listening for triggers.