Skip to content

Commit

Permalink
ci: inherit secrets when calling workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Apr 18, 2024
1 parent 0a8215c commit 2f24d2f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
pull_request:
branches: [ main ]

permissions:
contents: read
pages: write
id-token: write

jobs:
build:

Expand All @@ -30,3 +35,4 @@ jobs:
publish:
if: github.ref == 'refs/heads/main'
uses: ./.github/workflows/publish.yaml
secrets: inherit

0 comments on commit 2f24d2f

Please sign in to comment.