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

add GITHUB_TOKEN permissions to README #52

Merged
merged 1 commit into from
Mar 19, 2023
Merged

add GITHUB_TOKEN permissions to README #52

merged 1 commit into from
Mar 19, 2023

Conversation

ronenlu
Copy link
Member

@ronenlu ronenlu commented Mar 19, 2023

default permissions for GITHUB_TOKEN does not include write on PR permission
since month ago: https://github.blog/changelog/2023-02-02-github-actions-updating-the-default-github_token-permissions-to-read-only/#:~:text=Previously%2C%20GitHub%20Actions%20gets%20a,to%20read%2Fwrite%20if%20needed.

see default permissions on new repo:

Screen.Recording.2023-03-19.at.14.38.33.mov

Thus, with default permissions users get an Resource not accessible by integration Error
see failing: https://github.com/ronenlu/test_migration/actions/runs/4434852193/jobs/7781295191#step:3:69

but with the permissions specified in the README the workflow is green,
see working: https://github.com/ronenlu/test_migration/actions/runs/4460538212/jobs/7833748560?pr=3

next: need to update README of atlas-sync action and nebula UI

@github-actions
Copy link

Atlas Lint Report

Analyzed migrations2

StatusStepResultDiagnostics
Detect New Migration FilesFound 0 new migration files (from 0 total)
Replay Migration FilesLoaded 0 changes on dev database
Connect your project to Atlas Cloud to get more safety checks

Migrations automatically reviewed by Atlas

@github-actions
Copy link

Atlas Lint Report

Analyzed migrations

StatusStepResultDiagnostics
Detect New Migration FilesFound 0 new migration files (from 0 total)
Replay Migration FilesLoaded 0 changes on dev database
Connect your project to Atlas Cloud to get more safety checks

Migrations automatically reviewed by Atlas

README.md Outdated Show resolved Hide resolved
@ronenlu ronenlu merged commit 791c829 into master Mar 19, 2023
@dorav dorav deleted the permissions branch November 2, 2023 11:25
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.

None yet

2 participants