Skip to content

testing passing secrets to called workflows #51

testing passing secrets to called workflows

testing passing secrets to called workflows #51

Workflow file for this run

name: CI
on: push
jobs:
# lint:
# uses: ./.github/workflows/lint.yaml
# test:
# uses: ./.github/workflows/test.yaml
# deploy_production:
# if: contains(github.ref, 'master')
# needs: [lint, test]
# uses: ./.github/workflows/deploy-production.yaml
# deploy_dev:
# if: contains(github.ref, 'dev')
# needs: [lint, test]
# uses: ./.github/workflows/deploy-dev.yaml
# deploy_staging:
# if: contains(github.ref, 'staging')
# needs: [lint, test]
# uses: ./.github/workflows/deploy-staging.yaml
# this is to test a deployment script
deploy_test:
if: contains(github.ref, 'chore/github-actions')
#needs: [lint, test]
uses: ./.github/workflows/deploy-dev.yaml

Check failure on line 31 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yaml (Line: 31, Col: 11): Secret token is required, but not provided while calling. .github/workflows/ci.yaml (Line: 35, Col: 27): Invalid secret, DEPLOYMENT_KEY_DEV is not defined in the referenced workflow.
with:
test-input: 'test'
secrets:
DEPLOYMENT_KEY_DEV: ${{ secrets.DEPLOYMENT_KEY_DEV }}
HEROKU_APP_NAME_DEV: ${{ secrets.HEROKU_APP_NAME_DEV }}