Skip to content

Commit e2d2309

Browse files
NickBorgersclaude
andcommitted
Fix CI workflow permissions issue
Remove the release notes update step from the CI workflow that was failing with HTTP 403 permissions error. The step attempted to edit releases with only contents:read permission. This is unnecessary since releases are created with complete notes using 'gh release create' which includes all Docker image information. Technical details: - Removed step "Update release notes with Docker info" - No longer requires contents:write permission - Reduces security surface area of workflow - Releases already have complete information from creation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 371d488 commit e2d2309

1 file changed

Lines changed: 0 additions & 24 deletions

File tree

‎.github/workflows/internet-connection-monitor-ci.yml‎

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -138,27 +138,3 @@ jobs:
138138
platforms: linux/amd64,linux/arm64
139139
cache-from: type=gha
140140
cache-to: type=gha,mode=max
141-
142-
- name: Update release notes with Docker info
143-
run: |
144-
cat >> release-notes.md <<EOF
145-
146-
## Docker Image
147-
148-
The Docker image is available at:
149-
150-
\`\`\`bash
151-
docker pull ghcr.io/${{ steps.repo_owner.outputs.owner }}/internet-connection-monitor:${{ steps.version.outputs.version }}
152-
docker pull ghcr.io/${{ steps.repo_owner.outputs.owner }}/internet-connection-monitor:latest
153-
\`\`\`
154-
155-
### Supported Platforms
156-
- linux/amd64
157-
- linux/arm64
158-
EOF
159-
160-
gh release edit "${{ github.event.release.tag_name }}" \
161-
--notes-file release-notes.md \
162-
--repo "${{ github.repository }}"
163-
env:
164-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)