mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
ci: pass SENTRY_AUTH_TOKEN explicit as input (#7503)
Secrets are not accessible within actions.
This commit is contained in:
@@ -10,6 +10,9 @@ inputs:
|
||||
description: "The Sentry projects to create a release for"
|
||||
required: true
|
||||
# Must be space-separated.
|
||||
sentry_token:
|
||||
description: "The authentication token to use with sentry."
|
||||
required: true
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
@@ -24,7 +27,7 @@ runs:
|
||||
|
||||
- uses: getsentry/action-release@v1
|
||||
env:
|
||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||
SENTRY_AUTH_TOKEN: ${{ inputs.sentry_token }}
|
||||
SENTRY_ORG: firezone-inc
|
||||
with:
|
||||
version: ${{ inputs.component }}@${{ steps.version.outputs.version }}
|
||||
|
||||
3
.github/workflows/sentry.yml
vendored
3
.github/workflows/sentry.yml
vendored
@@ -21,6 +21,7 @@ jobs:
|
||||
with:
|
||||
component: gateway
|
||||
projects: gateway
|
||||
sentry_token: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||
|
||||
create_gui-client_sentry_release:
|
||||
if: ${{ startsWith(github.event.release.name, 'gui-client') }}
|
||||
@@ -33,6 +34,7 @@ jobs:
|
||||
with:
|
||||
component: gui-client
|
||||
projects: gui-client-gui gui-client-ipc-service
|
||||
sentry_token: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||
|
||||
create_headless-client_sentry_release:
|
||||
if: ${{ startsWith(github.event.release.name, 'headless-client') }}
|
||||
@@ -45,3 +47,4 @@ jobs:
|
||||
with:
|
||||
component: headless-client
|
||||
projects: headless-client
|
||||
sentry_token: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user