mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-30 14:56:11 +00:00
feat(gha): introduce utils/gha/annotations for GitHub Actions workflow annotations
- Add utils/gha/annotations.py with warning/error/notice helpers and *_each variants that emit one annotation per list item - Use warning() in GHCRProvider._set_public for missing GHCR_PAT case - Expose GHCR_PAT_SET env var in mirror step to distinguish missing-PAT from real API failures - Add unit tests for all annotation functions Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
312233aa42
commit
5e970ff5bd
6 files changed
+160
No files matched your search
@@ -156,6 +156,7 @@ jobs:
|
||||
if: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository) }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GHCR_PAT != '' && secrets.GHCR_PAT || secrets.GITHUB_TOKEN }}
|
||||
GHCR_PAT_SET: ${{ secrets.GHCR_PAT != '' && 'true' || 'false' }}
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
|
||||
Reference in new issue
Block a user