Skip to content

Change permissions to allow write access for contents#2005

Merged
Saijin-Naib merged 1 commit intoOpenDroneMap:masterfrom
sylveon:patch-1
Mar 17, 2026
Merged

Change permissions to allow write access for contents#2005
Saijin-Naib merged 1 commit intoOpenDroneMap:masterfrom
sylveon:patch-1

Conversation

@sylveon
Copy link
Contributor

@sylveon sylveon commented Mar 17, 2026

#1999 added granular permissions to grant id-token: write (which isn't granted by default). When doing this, I also added contents: read because granular permissions overwrite repo-level permissions, and not having it prevented the workflow from cloning its own repo.

However, the svenstaro/upload-release-action action requires contents: write, which the pipeline no longer had. Change contents to write (which implies read) to fix that.

OpenDroneMap#1999 added granular permissions to grant `id-token: write` (which isn't granted by default). When doing this, I also added `contents: read` because granular permissions overwrite repo-level permissions, and not having it prevented the workflow from cloning its own repo.

However, the `svenstaro/upload-release-action` action requires `contents: write`, which the pipeline no longer had. Change `contents` to `write` (which implies `read`) to fix that.
@Saijin-Naib Saijin-Naib merged commit 4ace2f9 into OpenDroneMap:master Mar 17, 2026
2 checks passed
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