Reference the reusable workflow from main

This is a safer approach since the main branch is protected. Therefore any chages to the reusable workflow will be intentional.
This commit is contained in:
Eddy Filip
2025-03-05 10:15:14 +01:00
parent 39b7248332
commit 39cf694bee
2 changed files with 6 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ jobs:
github.event.client_payload.pull_request.head.sha, github.event.client_payload.pull_request.head.sha,
github.event.client_payload.slash_command.args.named.sha github.event.client_payload.slash_command.args.named.sha
) )
uses: ./.github/workflows/acceptance-test.yml uses: 1password/load-secrets-action/.github/workflows/acceptance-test.yml@main
secrets: inherit secrets: inherit
with: with:
secret: op://acceptance-tests/test-secret/password secret: op://acceptance-tests/test-secret/password
@@ -27,7 +27,7 @@ jobs:
github.event.client_payload.pull_request.head.sha, github.event.client_payload.pull_request.head.sha,
github.event.client_payload.slash_command.args.named.sha github.event.client_payload.slash_command.args.named.sha
) )
uses: ./.github/workflows/acceptance-test.yml uses: 1password/load-secrets-action/.github/workflows/acceptance-test.yml@main
secrets: inherit secrets: inherit
with: with:
secret: op://acceptance-tests/test-secret/password secret: op://acceptance-tests/test-secret/password
@@ -42,7 +42,7 @@ jobs:
github.event.client_payload.pull_request.head.sha, github.event.client_payload.pull_request.head.sha,
github.event.client_payload.slash_command.args.named.sha github.event.client_payload.slash_command.args.named.sha
) )
uses: ./.github/workflows/acceptance-test.yml uses: 1password/load-secrets-action/.github/workflows/acceptance-test.yml@main
secrets: inherit secrets: inherit
with: with:
secret: op://v5pz6venw4roosmkzdq2nhpv6u/hrgkzhrlvscomepxlgafb2m3ca/password secret: op://v5pz6venw4roosmkzdq2nhpv6u/hrgkzhrlvscomepxlgafb2m3ca/password

View File

@@ -21,7 +21,7 @@ jobs:
github.event_name == 'pull_request' && github.event_name == 'pull_request' &&
github.event.pull_request.head.repo.full_name == github.repository github.event.pull_request.head.repo.full_name == github.repository
) )
uses: ./.github/workflows/acceptance-test.yml uses: 1password/load-secrets-action/.github/workflows/acceptance-test.yml@main
secrets: inherit secrets: inherit
with: with:
secret: op://acceptance-tests/test-secret/password secret: op://acceptance-tests/test-secret/password
@@ -35,7 +35,7 @@ jobs:
github.event_name == 'pull_request' && github.event_name == 'pull_request' &&
github.event.pull_request.head.repo.full_name == github.repository github.event.pull_request.head.repo.full_name == github.repository
) )
uses: ./.github/workflows/acceptance-test.yml uses: 1password/load-secrets-action/.github/workflows/acceptance-test.yml@main
secrets: inherit secrets: inherit
with: with:
secret: op://acceptance-tests/test-secret/password secret: op://acceptance-tests/test-secret/password
@@ -49,7 +49,7 @@ jobs:
github.event_name == 'pull_request' && github.event_name == 'pull_request' &&
github.event.pull_request.head.repo.full_name == github.repository github.event.pull_request.head.repo.full_name == github.repository
) )
uses: ./.github/workflows/acceptance-test.yml uses: 1password/load-secrets-action/.github/workflows/acceptance-test.yml@main
secrets: inherit secrets: inherit
with: with:
secret: op://v5pz6venw4roosmkzdq2nhpv6u/hrgkzhrlvscomepxlgafb2m3ca/password secret: op://v5pz6venw4roosmkzdq2nhpv6u/hrgkzhrlvscomepxlgafb2m3ca/password