[Git-commits] [grml/grml-live] 574db3: GitHub Actions: fix PR comment workflow for fork c...
Chris Hofstaedtler
noreply at github.com
Sat Jun 21 10:24:47 CEST 2025
Branch: refs/heads/master
Home: https://github.com/grml/grml-live
Commit: 574db336d02ecac4380864b08d6398e1cd2c8a4e
https://github.com/grml/grml-live/commit/574db336d02ecac4380864b08d6398e1cd2c8a4e
Author: Chris Hofstaedtler <ch at grml.org>
Date: 2025-06-21 (Sat, 21 Jun 2025)
Changed paths:
A .github/workflows/comment-artifacts.yml
M .github/workflows/test-build.yml
Log Message:
-----------
GitHub Actions: fix PR comment workflow for fork contributions
Split the artifact commenting functionality into a separate workflow using
workflow_run trigger to support PRs from forks. The original implementation
failed on fork PRs because GitHub Actions provides read-only tokens for
security, preventing write access to pull-requests.
Changes:
- Remove comment-artifacts job from test-build.yml
- Add new comment-artifacts.yml workflow with workflow_run trigger
- Use commit SHA to find associated PR for fork contributions
- Maintain same functionality: posts/updates ISO artifact download links
This approach follows GitHub's recommended pattern for commenting on fork PRs
while maintaining security isolation.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply at anthropic.com>
Commit: 38d46372d56dd82bfeb1c6f44023b5f7684b55ff
https://github.com/grml/grml-live/commit/38d46372d56dd82bfeb1c6f44023b5f7684b55ff
Author: Chris Hofstaedtler <zeha at users.noreply.github.com>
Date: 2025-06-21 (Sat, 21 Jun 2025)
Changed paths:
A .github/workflows/comment-artifacts.yml
M .github/workflows/test-build.yml
Log Message:
-----------
Merge pull request #368 from grml/zeha/gha-comment-forkable
GitHub Actions: fix PR comment workflow for fork contributions
Compare: https://github.com/grml/grml-live/compare/9d1919dab48d...38d46372d56d
To unsubscribe from these emails, change your notification settings at https://github.com/grml/grml-live/settings/notifications
More information about the Git-commits
mailing list