Skip to content

Fix missing write permission for pr-preview-action#506

Open
zandivx wants to merge 1 commit into
fortran-lang:masterfrom
zandivx:fix-workflow
Open

Fix missing write permission for pr-preview-action#506
zandivx wants to merge 1 commit into
fortran-lang:masterfrom
zandivx:fix-workflow

Conversation

@zandivx
Copy link
Copy Markdown
Contributor

@zandivx zandivx commented Jan 16, 2026

The contents: write permission is required for the rossjrw/pr-preview-action to push the generated documentation to the gh-pages branch. Without this permission, the GitHub Actions bot cannot write to the repository, resulting in the 403 error.

@zandivx zandivx requested a review from gnikit as a code owner January 16, 2026 00:22
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 44.39%. Comparing base (78ad649) to head (28a1d57).
⚠️ Report is 21 commits behind head on master.

❗ There is a different number of reports uploaded between BASE (78ad649) and HEAD (28a1d57). Click for more details.

HEAD has 4 uploads less than BASE
Flag BASE (78ad649) HEAD (28a1d57)
12 8
Additional details and impacted files
@@             Coverage Diff             @@
##           master     #506       +/-   ##
===========================================
- Coverage   88.33%   44.39%   -43.94%     
===========================================
  Files          35       35               
  Lines        4800     4800               
===========================================
- Hits         4240     2131     -2109     
- Misses        560     2669     +2109     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gnikit
Copy link
Copy Markdown
Member

gnikit commented Jan 18, 2026

I'm happy to merge this if you undo the change in the docs

The `contents: write` permission is required for the
`rossjrw/pr-preview-action` to push the generated documentation to the
`gh-pages` branch. Without this permission, the GitHub Actions bot
cannot write to the repository, resulting in the 403 error.
@zandivx
Copy link
Copy Markdown
Contributor Author

zandivx commented Jan 18, 2026

I'm happy to merge this if you undo the change in the docs

Reverted. Thx!

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