Repository navigation
feat: add scheduled workflow to sync Paragon icon allow-list - #537
Conversation
|
Thanks for the pull request, @carlos-marquez-wgu! This repository is currently maintained by Once you've gone through the following steps feel free to tag them in a comment and let them know that your changes are ready for engineering review. 🔘 Get product approvalIf you haven't already, check this list to see if your contribution needs to go through the product review process.
🔘 Provide contextTo help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:
🔘 Get a green buildIf one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green. DetailsWhere can I find more information?If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources: When can I expect my changes to be merged?Our goal is to get community contributions seen and reviewed as efficiently as possible. However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:
💡 As a result it may take up to several weeks or months to complete a review and merge your PR. |
Add a weekly GitHub Actions workflow that checks if the @openedx/paragon version used by frontend-app-admin-console has changed, and if so, updates the pinned version and regenerates the vendored icon allow-list via `make paragon_icons`, then opens a PR with the changes. Refs: ADR 0029
e5f59bc to
c41f116
Compare
|
Hi @openedx/committers-openedx-authz, this PR is ready for reviews |
Add a weekly GitHub Actions workflow that checks if the @openedx/paragon version used by frontend-app-admin-console has changed, and if so, updates the pinned version and regenerates the vendored icon allow-list via
make paragon_icons, then opens a PR with the changes.Its set to run automatically weekly, at 00:00 on Monday. (let me know if you want a difference cadence, I am re-using the same one of this other action -> https://github.com/openedx/openedx-authz/blob/main/.github/workflows/upgrade-python-requirements.yml)
Refs: ADR-0029
Testing evidence
I forked this repo to my personal account and run the workflow there
Successful workflow run: https://github.com/carlos-marquez-wgu/openedx-authz/actions/runs/38925555767
Here is the PR it created: carlos-marquez-wgu#3
Testing instructions
# note: change `origin` remote for the remote you are using for your fork if needed git push -u origin carlos-marquez-wgu/issue-528-scheduled-job-update-paragon-icons-listcarlos-marquez-wgu/issue-528-scheduled-job-update-paragon-icons-listtemporarily, this way the workflow will appear in the Actions tabCheck the box: "Allow GitHub Actions to create and approve pull requests"
Run:

PR:

Concerns
With the
GITHUB_TOKENused, the PR needs a maintainer to run the CI workflowsWe will need a PAT token to make it work, I see the workflow at
openedx-authz/.github/workflows/upgrade-python-requirements.ymlhas the tokensecrets.REQUIREMENTS_BOT_GITHUB_TOKEN, seems this is a valid PAT we can re-use, but wanted maintainers confirmation / direction before using this one, keep the standardGITHUB_TOKEN, create a new PAT for this, or something else. Let me know what you think is best!Merge checklist:
Check off if complete or not applicable:
AI Usage
Kiro + Claude were used to assist with the creation of the github workflow implementations while throughly and carefully guided, everything was reviewed and corrected manually by an actual person and ensured the changes were up to standard and met the closing issue requirements.
Closes: #528