mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #261] Running workflows locally on Act behave differently than running on Github #178
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#178
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 @shaal on GitHub (May 29, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/261
(Thank you for the explanation in https://github.com/nektos/act/issues/197#issuecomment-628223869)
I tested this workflow:
https://github.com/palantirnet/drupal-rector/blob/master/.github/workflows/local_package_functional_tests.yml
And found that when running the workflow in Github, every
run:section inside 1 job, "forgets" the location changes that were done in a previous run.For an example:
cd drupalin https://github.com/palantirnet/drupal-rector/blob/master/.github/workflows/packagist_package_run_rector.yml#L32needs to run again in https://github.com/palantirnet/drupal-rector/blob/master/.github/workflows/packagist_package_run_rector.yml#L39
and run again in every
run:after that.But when I run the same script locally in
act(usingact -P ubuntu-latest=shivammathur/node:latest)It does not "forget" the location in a previous run, which messes up the special setup needed for that test.
@shaal commented on GitHub (Jul 5, 2020):
How can I resolve this problem?
@github-actions[bot] commented on GitHub (Sep 4, 2020):
Issue is stale and will be closed in 7 days unless there is new activity