Skip to content
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

chore: add pull_requests: write permissions to sync workflow #593

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

MikeMcC399
Copy link
Contributor

@MikeMcC399 MikeMcC399 commented Jan 13, 2025

Issue

The workflow Version Sync that keeps pinned versions up-to-date fails with

Error: Resource not accessible by integration

Change

Add the following permissions to Version Sync (sync.yml)

    permissions:
      pull-requests: write

Verification

Run the Version Sync manually and check that it ran successfully. It should create a PR to update config.json to latest versions:

Package Manager config version latest version
npm 10.9.1 11.0.0
pnpm 9.14.2 9.15.3
yarn 4.5.2 4.6.0

Additional step

Review and merge the PR created.

@aduh95 aduh95 enabled auto-merge (squash) January 13, 2025 16:30
@aduh95 aduh95 merged commit afd9390 into nodejs:main Jan 13, 2025
13 checks passed
@MikeMcC399 MikeMcC399 deleted the version-sync-permissions branch January 13, 2025 16:59
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