Error when evaluating 'environment' for job 'core'. Unexpected type 'BasicExpressionToken' encountered while reading 'job environment'. The type 'MappingToken' was expected.
See original GitHub issueHello
Our jobs just started failing to run with the following error about 1 hour ago (12:15pm Eastern):
Error when evaluating ‘environment’ for job ‘core’. Unexpected type ‘BasicExpressionToken’ encountered while reading ‘job environment’. The type ‘MappingToken’ was expected.
Our workflow looks like this:
jobs:
core:
name: Core
environment: ${{ github.event_name == 'pull_request' && 'ci' || 'release' }}
# ...
Was there a breakage deployed in the orchestrator parsing environment for single names?
Thanks
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:5
Top Results From Across the Web
Unexpected type * encountered while reading 'resources ...
Running pipeline from template cause this error: Unexpected type 'SequenceToken' encountered while reading 'resources'. The type 'MappingToken' ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey 👋 , thanks for the report.
Our team is investigating this issue as a possible service bug and we’ll post updates in this issue once we know more.
Thanks @thboop . We’ve had some successful builds already.