Skip to content

Use vars instead of secrets for non-secret envs #1

Use vars instead of secrets for non-secret envs

Use vars instead of secrets for non-secret envs #1

Workflow file for this run

name: Deploy - dev
on:
pull_request:
branches:
- main
types:
- review_requested
- ready_for_review
- assigned
jobs:
deploy_to_dev:

Check failure on line 13 in .github/workflows/deploy_dev.yml

View workflow run for this annotation

GitHub Actions / Deploy - dev

Invalid workflow file

The workflow is not valid. .github/workflows/deploy_dev.yml (Line: 13, Col: 3): Error calling workflow 'nkcoder/whitehaven/.github/workflows/deploy.yml@0f67b49221304067ba5aacff882a0eaaf758779f'. The nested job 'deploy' is requesting 'id-token: write', but is only allowed 'id-token: none'.

Check failure on line 13 in .github/workflows/deploy_dev.yml

View workflow run for this annotation

GitHub Actions / Deploy - dev

Invalid workflow file

The workflow is not valid. .github/workflows/deploy_dev.yml (Line: 13, Col: 3): Error calling workflow 'nkcoder/whitehaven/.github/workflows/deploy.yml@0f67b49221304067ba5aacff882a0eaaf758779f'. The nested job 'deploy' is requesting 'id-token: write', but is only allowed 'id-token: none'.
uses: ./.github/workflows/deploy.yml
with:
environment: dev
aws_region: ap-southeast-2
branch: ${{ github.event.pull_request.head.ref }}
secrets: inherit