Skip to content

Grant 'write' permission to upload-rust-binary-action upon Release registration#44

Merged
ykdy3951 merged 1 commit intomainfrom
fix-release
Mar 25, 2024
Merged

Grant 'write' permission to upload-rust-binary-action upon Release registration#44
ykdy3951 merged 1 commit intomainfrom
fix-release

Conversation

@devleejb
Copy link
Copy Markdown
Contributor

@devleejb devleejb commented Mar 23, 2024

What this PR does / why we need it?

This PR aims to address the insufficient permissions issue in the GitHub Action setup that triggers upon Release registration. By adding the code snippet below, the 'upload-rust-binary-action' will have the necessary 'contents' write permission to allow Content writing post-build.

permissions:
  contents: write

Any background context you want to provide?

The reference repository that is pertinent to this change is taiki-e/upload-rust-binary-action.

What are the relevant tickets?

Checklist

  • Added relevant tests or not required
  • Didn't break anything

@devleejb devleejb added the bug Something isn't working label Mar 23, 2024
@devleejb devleejb requested a review from ykdy3951 March 23, 2024 11:56
@devleejb devleejb self-assigned this Mar 23, 2024
@ykdy3951 ykdy3951 merged commit 88ea7df into main Mar 25, 2024
@ykdy3951 ykdy3951 deleted the fix-release branch March 25, 2024 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants