mirror of
https://github.com/juanfont/headscale.git
synced 2026-11-24 22:26:29 +09:00
.github: pass integration tests only the secrets they read
Call the template with $/, the same-commit reference zizmor asks for.
This commit is contained in:
1 parent
1dcb57cb8c
commit
1c3ee1b07b
2 files changed
+21
-4
No files matched your search
@@ -13,6 +13,15 @@ on:
|
||||
database_name:
|
||||
required: true
|
||||
type: string
|
||||
secrets:
|
||||
TS_OAUTH_CLIENT_ID:
|
||||
required: false
|
||||
TS_OAUTH_SECRET:
|
||||
required: false
|
||||
DOCKERHUB_CI_USERNAME:
|
||||
required: false
|
||||
DOCKERHUB_CI_TOKEN:
|
||||
required: false
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
||||
@@ -396,8 +396,12 @@ jobs:
|
||||
- TestTS2021WebSocketGET
|
||||
- TestTS2021WASMClientUnderNode
|
||||
- TestTailscaleRustAxum
|
||||
uses: ./.github/workflows/integration-test-template.yml
|
||||
secrets: inherit
|
||||
uses: $/.github/workflows/integration-test-template.yml
|
||||
secrets:
|
||||
TS_OAUTH_CLIENT_ID: ${{ secrets.TS_OAUTH_CLIENT_ID }}
|
||||
TS_OAUTH_SECRET: ${{ secrets.TS_OAUTH_SECRET }}
|
||||
DOCKERHUB_CI_USERNAME: ${{ secrets.DOCKERHUB_CI_USERNAME }}
|
||||
DOCKERHUB_CI_TOKEN: ${{ secrets.DOCKERHUB_CI_TOKEN }}
|
||||
with:
|
||||
test: ${{ matrix.test }}
|
||||
postgres_flag: "--postgres=0"
|
||||
@@ -414,8 +418,12 @@ jobs:
|
||||
- TestEphemeral2006DeletedTooQuickly
|
||||
- TestPingAllByIPManyUpDown
|
||||
- TestSubnetRouterMultiNetwork
|
||||
uses: ./.github/workflows/integration-test-template.yml
|
||||
secrets: inherit
|
||||
uses: $/.github/workflows/integration-test-template.yml
|
||||
secrets:
|
||||
TS_OAUTH_CLIENT_ID: ${{ secrets.TS_OAUTH_CLIENT_ID }}
|
||||
TS_OAUTH_SECRET: ${{ secrets.TS_OAUTH_SECRET }}
|
||||
DOCKERHUB_CI_USERNAME: ${{ secrets.DOCKERHUB_CI_USERNAME }}
|
||||
DOCKERHUB_CI_TOKEN: ${{ secrets.DOCKERHUB_CI_TOKEN }}
|
||||
with:
|
||||
test: ${{ matrix.test }}
|
||||
postgres_flag: "--postgres=1"
|
||||
|
||||
Reference in new issue
Block a user