-
Notifications
You must be signed in to change notification settings - Fork 38
Allow use of ppkarwasz/fetch-metadata alongside dependabot/fetch-metadata
#339
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
base: main
Are you sure you want to change the base?
Conversation
…etadata` This PR allows the usage of the `ppkarwasz/fetch-metadata` GitHub Action as an alternative to `dependabot/fetch-metadata` in ASF repositories. The `ppkarwasz/fetch-metadata` action is a personal improvement of the original `dependabot/fetch-metadata`, adding support for grouped Dependabot pull requests, a feature that is currently missing from the upstream action. The implementation has already been reviewed and approved by the Dependabot team (see dependabot/fetch-metadata#632), but the upstream project has been inactive for several months, likely due to reduced maintenance capacity at GitHub. This has prevented the improvement from being merged and released. ### Why this change is needed In Apache Logging Services, every pull request must include a changelog entry. Previously, under CTR, we used a workflow that automatically added the changelog entry and merged the PR. Since switching to RTC, this automation can no longer complete the merge step, resulting in repositories accumulating unmerged Dependabot PRs that must be: * manually reviewed, * updated with an empty commit to re-trigger required status checks, * and merged by hand. We already have an improved workflow in place (see apache/logging-parent#419) that provides: * **Security enhancements** through separation of privileged and unprivileged workflows (`ppkarwasz/fetch-metadata` is used only in the unprivileged workflow), * **Automatic merge using `auto-merge` instead of manual merging**, and * **Support for grouped Dependabot PRs** (reducing noise to ~1 PR per repository per month). The final item, grouped PR support, requires the `ppkarwasz/fetch-metadata` action.
|
After revisiting If I can confirm this behavior, I’ll close this PR and open a new one proposing the use of the upstream |
|
Just let me know how you'd like to proceed @ppkarwasz |
|
Hi @dfoulks1, I tried to review
Given that, I’m not comfortable declaring either action “safe” for ASF-wide use, especially since @vy, what do you think about us maintaining a minimal TypeScript action ourselves? |
@ppkarwasz, until the time we have an active maintainer in the [Logging Services] PMC who can and is willing to maintain a {Java,Type}Script stack, and it is objectively clear that keeping a certain component in {Java,Type}Script is simpler & more sustainable compared to alternatives, I am inclined to KISS, and stick to tools that we know and use best: Java & shell scripting. |
|
There is an inherent advantage in maintaining an action in TypeScript:
I am more than willing to maintain a cut-down version of |
Request for adding a new GitHub Action to the allow list
Overview
This PR allows the usage of the
ppkarwasz/fetch-metadataGitHub Action as an alternative todependabot/fetch-metadatain ASF repositories.The
ppkarwasz/fetch-metadataaction is a personal improvement of the originaldependabot/fetch-metadata, adding support for grouped Dependabot pull requests, a feature that is currently missing from the upstream action. The implementation has already been reviewed and approved by the Dependabot team (see dependabot/fetch-metadata#632), but the upstream project has been inactive for several months, likely due to reduced maintenance capacity at GitHub. This has prevented the improvement from being merged and released.Name of action:
ppkarwasz/fetch-metadataURL of action: https://github.com/ppkarwasz/fetch-metadata
Version to pin to (hash only):
14da1d746fb4c6f05dbc353e4fd619a1065c8ff6Permissions
The action only requires
readpermissions, so no explicit permission besides what is publicly available.Related Actions
dependabot/fetch-metadataWhy this change is needed
In Apache Logging Services, every pull request must include a changelog entry. Previously, under CTR, we used a workflow that automatically added the changelog entry and merged the PR.
Since switching to RTC, this automation can no longer complete the merge step, resulting in repositories accumulating unmerged Dependabot PRs that must be:
We already have an improved workflow in place (see apache/logging-parent#419) that provides:
ppkarwasz/fetch-metadatais used only in the unprivileged workflow),auto-mergeinstead of manual merging, andThe final item, grouped PR support, requires the
ppkarwasz/fetch-metadataaction.Checklist
You should be able to check most of these boxes for an action to be considered for review.
Please check all boxes that currently apply: