[Git-commits] [grml/grml-live] 574db3: GitHub Actions: fix PR comment workflow for fork c...
Chris Hofstaedtler
noreply at github.com
Sat Jun 21 01:21:23 CEST 2025
Branch: refs/heads/zeha/gha-comment-forkable
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>
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