Skip to content

Commit

Permalink
ci: inherit secrets from workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
d-roak committed Oct 30, 2024
1 parent 4fb2e8b commit d4a7582
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/buf-registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@ jobs:
token: ${{ secrets.BUF_TOKEN }}
pr_comment: false
lint: false
- run: |
echo ${{ secrets.BUF_TOKEN }} | buf registry login --token-stdin
buf push --error-format github-actions --exclude-unnamed --git-metadata --create
push: true
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:

publish_buf_registry:
name: Publish buf files
secrets: inherit
permissions:
contents: read
needs:
Expand Down

0 comments on commit d4a7582

Please sign in to comment.