ci: add workflow to regenerate async-upload requirements.txt for Dependabot PRs#2414
ci: add workflow to regenerate async-upload requirements.txt for Dependabot PRs#2414jonburdo wants to merge 1 commit intokubeflow:mainfrom
Conversation
…ndabot PRs Dependabot updates pyproject.toml and poetry.lock but cannot run `poetry export` to regenerate requirements.txt, causing the "Check generated code or files are in sync" check to fail. This adds a workflow that detects Dependabot PRs touching jobs/async-upload/poetry.lock, runs `make install` to regenerate requirements.txt, and commits the result. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Jon Burdo <jon@jonburdo.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Proposal: Enable workflow re-triggering for Dependabot PRsProblemDependabot PRs that update A new workflow ( Proposed solution: GitHub App tokenCreate a GitHub App with minimal permissions and use it in the Setup steps
Alternative: Personal Access Token (PAT)A PAT would also work but is less desirable:
A GitHub App is the recommended approach for org-owned repos. Scope of impactOnce the App is set up, it can be reused for any future workflow that |
|
Not tested yet. Claude helped me generate the suggestion above. Any thoughts @tarilabs or others? |
Dependabot updates pyproject.toml and poetry.lock but cannot run
poetry exportto regenerate requirements.txt, causing the "Check generated code or files are in sync" check to fail.This adds a workflow that detects Dependabot PRs touching jobs/async-upload/poetry.lock, runs
make installto regenerate requirements.txt, and commits the result.Description
How Has This Been Tested?
Merge criteria:
DCOcheck)ok-to-testhas been added to the PR.If you have UI changes