mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #573] Enhancement: Fail if env variable is used in strategy of a job #385
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#385
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pdecat on GitHub (Mar 20, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/573
Originally assigned to: @catthehacker on GitHub.
Describe feature
The following configuration works in act:
but fails in Github Actions:
Sadly, this is not supported:
@github-actions[bot] commented on GitHub (Apr 20, 2021):
Issue is stale and will be closed in 14 days unless there is new activity
@physikerwelt commented on GitHub (May 18, 2021):
I am very new to act and github actions, so my assumption that my issue is related might be wrong. I am seeing at least the same error, if I try to skip an entire workflow locally.
https://github.com/zbMATHOpen/linksApi/blob/master/.github/workflows/codeql-analysis.yml#L27
I wonder if the is a different method people use to determine if the job is executed on github or locally.
@catthehacker commented on GitHub (May 18, 2021):
@physikerwelt you don't use environment variables in matrix so it's definitely not the same issue
@ZauberNerd commented on GitHub (Feb 1, 2022):
Check out https://github.com/rhysd/actionlint to lint your workflow files.