Skip to content

PLT-228 Add build and deploy workflows #6

PLT-228 Add build and deploy workflows

PLT-228 Add build and deploy workflows #6

Workflow file for this run

name: pull request jobs
on:
pull_request:
jobs:
#unit-integration-test:
# uses: ./.github/workflows/unit-integration-test.yml
# secrets: inherit
build-api:
#needs: unit-integration-test
uses: ./.github/workflows/build.yml
with:
environment: test
module: api
secrets: inherit
build-worker:
#needs: unit-integration-test
uses: ./.github/workflows/build.yml
with:
environment: test
module: worker
secrets: inherit
deploy-api:

Check failure on line 24 in .github/workflows/pull-request.yml

View workflow run for this annotation

GitHub Actions / pull request jobs

Invalid workflow file

The workflow is not valid. .github/workflows/pull-request.yml (Line: 24, Col: 3): Error calling workflow 'CMSgov/ab2d/.github/workflows/deploy.yml@325e5bfe9fa46c60895b3efd983d3d976c086999'. The nested job 'deploy' is requesting 'id-token: write', but is only allowed 'id-token: none'.
needs: build-api
uses: ./.github/workflows/deploy.yml
with:
environment: test
module: api
secrets: inherit
deploy-worker:
needs: build-worker
uses: ./.github/workflows/deploy.yml
with:
environment: test
module: worker
secrets: inherit
e2e-test:
needs: [deploy-api, deploy-worker]
uses: ./.github/workflows/e2e-test.yml
with:
environment: test
secrets: inherit