Skip to content

Move PR write permissions #169

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Move PR write permissions #169

wants to merge 3 commits into from

Conversation

beklapko
Copy link
Contributor

@beklapko beklapko requested a review from lnhsingh as a code owner August 15, 2025 14:59
@beklapko beklapko requested a review from eyurtsev August 15, 2025 14:59

jobs:
create-preview:
permissions:
pull-requests: write # Required to comment on PRs
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@eyurtsev I moved this to the job level because I didn't think there was a way to set permissions on an individual step. Is this what you were thinking or was there a different solution?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure this change is the cause yet since it didn't fail on the step for commenting on the PR but the preview workflow failed: https://github.com/langchain-ai/docs/actions/runs/16992739025/job/48175935263?pr=169#step:11:892

Copy link

Preview ID generated: preview-brodye-1755274036-4246463

Copy link

Preview ID generated: preview-brodye-1755274800-4c212f6

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