Skip to content

Is there a change for loading .env and .secrets file? #2504

Answered by ChristopherHX
liyangau asked this question in Q&A
Discussion options

You must be logged in to vote

check-global-configs:
name: Check global configs
runs-on: ubuntu-latest
strategy:
matrix:
env: [dev]
include:
- env: dev
ADMIN_API_URL: ${{ secrets.DEV_ADMIN_API_URL }}

This is a syntax violation per GitHub Actions a job matrix cannot make use of any sort of secrets, that this workflow worked in the past was a bug

See https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/accessing-contextual-information-about-workflow-runs#context-availability

Why do you think this should run? Are you using act for a ci system and not for developing GitHub Actions?

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ylbeethoven
Comment options

Answer selected by liyangau
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants