Skip to content

Commit

Permalink
fix(ci): fix publish workflow permissions (#21773)
Browse files Browse the repository at this point in the history
* ci(github-actions): fix publish workflow permissions

Signed-off-by: Bryce Thuilot <[email protected]>

* ci(github-actions): fix trailing space

Signed-off-by: Bryce Thuilot <[email protected]>

* ci(github-actions): update custom builds

Signed-off-by: Bryce Thuilot <[email protected]>

* Adding permissions to additional workflows that call this publish

Signed-off-by: Jesse Szwedko <[email protected]>

---------

Signed-off-by: Bryce Thuilot <[email protected]>
Signed-off-by: Jesse Szwedko <[email protected]>
Co-authored-by: Jesse Szwedko <[email protected]>
  • Loading branch information
bthuilot and jszwedko authored Nov 13, 2024
1 parent cac47ff commit ca05055
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/custom_builds.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Custom Builds

permissions:
contents: read
packages: write

on:
workflow_dispatch: {}

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Nightly

permissions:
contents: read
packages: write

on:
workflow_dispatch:
schedule:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Publish

permissions:
contents: read
packages: write

on:
workflow_call:
inputs:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Release Suite

permissions:
contents: read
packages: write

on:
push:
tags:
Expand Down

0 comments on commit ca05055

Please sign in to comment.