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:
6
.github/workflows/test-fork.yml
vendored
6
.github/workflows/test-fork.yml
vendored
@@ -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
|
||||||
|
|||||||
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user