Skip to main content

Add write permissions for this GitHub token

ID
6ee6e34
date
2024-08-20 12:51:24+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
c5ee426
message
Add write permissions for this GitHub token

This is already configured in the settings for this repo; adding it to
the workflow file ensures I'll have it if I use this as a template for
future projects.
changed files
1 file, 2 additions

Changed files

.github/workflows/upload_binaries.yml (1154) → .github/workflows/upload_binaries.yml (1193)

diff --git a/.github/workflows/upload_binaries.yml b/.github/workflows/upload_binaries.yml
index 47d6301..8d3f92e 100644
--- a/.github/workflows/upload_binaries.yml
+++ b/.github/workflows/upload_binaries.yml
@@ -36,6 +36,8 @@ jobs:
             os: windows-latest
 
     runs-on: ${{ matrix.os || 'ubuntu-latest' }}
+    permissions:
+      contents: write
     steps:
       - uses: actions/checkout@v4
       - uses: taiki-e/upload-rust-binary-action@v1