Skip to content

FIX: d-compat workflow for repos with read-only default permissions - #82

Merged
cvx merged 1 commit into
discourse:mainfrom
Arkshine:patch-2
May 13, 2026
Merged

cvx merged 1 commit into
discourse:mainfrom
Arkshine:patch-2

Conversation

@Arkshine

@Arkshine Arkshine commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

create-d-compat-branch.yml requires contents: write, but reusable workflows cannot elevate permissions—the caller must grant them explicitly. This fails when default workflow permissions are read-only, which is a common default (e.g. for personal repositories). https://docs.github.com/en/actions/using-workflows/reusing-workflows

image

`create-d-compat-branch.yml` requires `contents: write`, but reusable workflows cannot elevate permissions—the caller must grant them explicitly. This fails when default workflow permissions are read-only.
https://docs.github.com/en/actions/using-workflows/reusing-workflows
@ZogStriP
ZogStriP requested a review from cvx April 9, 2026 07:15

@cvx cvx left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Applying the same in the plugin workflow: discourse/discourse-plugin-skeleton#102

@cvx
cvx merged commit 367458b into discourse:main May 13, 2026
4 checks passed
@Arkshine
Arkshine deleted the patch-2 branch May 13, 2026 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants