mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #644] [Build] Should the test* Github Action workflows changed to workflow_dispatch? #422
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#422
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 @JustinGrote on GitHub (Apr 28, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/644
I keep seeing these test workflows run on all actions but they appear to have been experiments rather than any kind of testing or gatekeeping check. Should they be switched to manual triggers so they aren't running all the time or is there a benefit I'm not seeing here?

@catthehacker commented on GitHub (Apr 28, 2021):
Nope, they should be running all the time. Those are generated by tests and are verifying behaviour between
actand GitHub Actions:test-if.ymlinrun_context_test.gotest-expressions.ymlinexpression_test.gotest-composite.ymlwas added due to misunderstanding but it does no harm@JustinGrote commented on GitHub (Apr 28, 2021):
Apparently i only spot checked test-composite. All good!
@JustinGrote commented on GitHub (Apr 28, 2021):
@catthehacker sorry, I reviewed the test and I don't see where it's actually being verified, it just writes out the test

And the resulting workflow isn't in the list of checks for PRs. Are you manually reviewing them or what am I missing?

@catthehacker commented on GitHub (Apr 28, 2021):
if you run
actinact/it will verify it ;)Serious answer: Verifying in terms, we can see how GitHub handles those expressions
@JustinGrote commented on GitHub (Apr 28, 2021):
Fair...
@catthehacker commented on GitHub (Apr 28, 2021):
@JustinGrote
Actually, no, I thought good that we tested them both in
actand GHA. Sorry, it's already late and my brain is switching off slowly after work 😄github.com/nektos/act@f56b21f6c3/pkg/runner/expression_test.go (L187-L195)github.com/nektos/act@f56b21f6c3/pkg/runner/run_context_test.go (L138-L152)