Skip to content

fix(deploy-preview.yml): update gh token perms for preview deploy#1610

Open
vdice wants to merge 1 commit intomainfrom
ci/preview-token-perms
Open

fix(deploy-preview.yml): update gh token perms for preview deploy#1610
vdice wants to merge 1 commit intomainfrom
ci/preview-token-perms

Conversation

@vdice
Copy link
Copy Markdown
Member

@vdice vdice commented Mar 27, 2026

Adds the pull-requests: write permission to the GITHUB_TOKEN so that the fermyon/actions/preview action can comment on the PR with deployed preview URL for PRs from dependabot.

The preview URL comment works fine without this when the PR is created by a member of the org, wherein the default token permissions do have this write functionality, but dependabot PRs are given read-only permissions by default.

Signed-off-by: Vaughn Dice <vdice@akamai.com>
@github-actions
Copy link
Copy Markdown

🚀 preview deployed successfully to Fermyon Cloud and available at https://fermyon-developer-pr-1610-cri83icz.fermyon.app

@vdice vdice requested a review from rajatjindal March 27, 2026 15:28
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.

1 participant