Skip to content

Commit

Permalink
Check token
Browse files Browse the repository at this point in the history
Signed-off-by: Flynn <flynn@buoyant.io>
  • Loading branch information
kflynn committed Mar 6, 2024
1 parent 3a9bcb5 commit 6275ff1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- 'v*.*.*'

permissions:
contents: write
contents: read
packages: write

jobs:
Expand All @@ -28,6 +28,12 @@ jobs:
with:
go-version: '1.20' # This needs to be a string!

- name: Token check
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |-
curl -v -H "Accept: application/vnd.github+json" -H "Authorization: token $GITHUB_TOKEN" 'https://api.github.com/orgs/BuoyantIO/packages?package_type=container'
- name: Run goreleaser release
uses: goreleaser/goreleaser-action@v5
with:
Expand Down

0 comments on commit 6275ff1

Please sign in to comment.