Skip to content

Fix deploy-preview CI for Dependabot PRs#39

Merged
petrsvihlik merged 3 commits into
masterfrom
claude/fix-build-failure-KmrV5
Apr 19, 2026
Merged

Fix deploy-preview CI for Dependabot PRs#39
petrsvihlik merged 3 commits into
masterfrom
claude/fix-build-failure-KmrV5

Conversation

@petrsvihlik
Copy link
Copy Markdown
Owner

Summary

  • Bumps System.Security.Cryptography.Xml from 10.0.5 → 10.0.6 (security patch from Dependabot PR Bump System.Security.Cryptography.Xml from 10.0.5 to 10.0.6 #38)
  • Fixes the deploy-preview workflow failing for Dependabot PRs by adding explicit issues: write / pull-requests: write permissions — Dependabot-triggered pull_request workflows receive a read-only GITHUB_TOKEN by default, which caused the preview URL comment step to 403

Prerequisites

SURGE_LOGIN and SURGE_TOKEN must be added to Settings → Secrets and variables → Dependabot (in addition to the existing repo secrets) so the Surge deploy step can authenticate when triggered by Dependabot.

Test plan

https://claude.ai/code/session_018BsvAZMR1V4p6qRAvtk82P

claude added 3 commits April 15, 2026 18:28
…y.Cryptography.Xml to 10.0.6

- Skip the deploy-preview job for dependabot[bot] since Dependabot PRs
  cannot access repository secrets (SURGE_LOGIN/SURGE_TOKEN), causing
  the Surge deployment step to fail with an auth error.
- Apply the security patch from PR #38: bump System.Security.Cryptography.Xml
  from 10.0.5 to 10.0.6.

https://claude.ai/code/session_018BsvAZMR1V4p6qRAvtk82P
…ents

Dependabot pull_request workflows receive a read-only GITHUB_TOKEN by
default, causing the github-script comment step to 403. Explicitly
grant issues/pull-requests write permissions so the preview URL comment
can be created. Also remove the dependabot[bot] skip condition added
in the previous commit, now that SURGE_LOGIN/SURGE_TOKEN are configured
in the Dependabot secrets store.

https://claude.ai/code/session_018BsvAZMR1V4p6qRAvtk82P
@petrsvihlik petrsvihlik merged commit 9be2968 into master Apr 19, 2026
3 checks passed
@petrsvihlik petrsvihlik deleted the claude/fix-build-failure-KmrV5 branch April 19, 2026 19:49
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 19, 2026

🚀 Preview: https://petrsvihlik-pr-39.surge.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants