mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #127] Support if condition #85
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#85
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 @robdodson on GitHub (Mar 6, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/127
Version of act
act version 0.2.5
Platform (Linux, OS X, Windows)
macOS 10.14.6
The complete main.workflow file used
The complete command that was executed
act pull_request -q -e event.json -s GITHUB_TOKEN=[my access token]Any output from the command
I have an
ifcondition in my workflow that says if it seesfiles_createdorfiles_updatedduring the git_diff step then the next step should run. But it looks likeactstops executing after the git_diff step. If I remove theifcondition, then it runs the next step. Theifcondition works as expected when I'm using GitHub's Actions panel in the repo itself.@cplee commented on GitHub (Mar 6, 2020):
@robdodson - can you share the sample event.json file you are using?
@robdodson commented on GitHub (Mar 6, 2020):
@robdodson commented on GitHub (Mar 6, 2020):
Currently the repo is private. I can make it public if that would help.
@cplee commented on GitHub (Mar 6, 2020):
@robdodson - that would help...can't access the PR:
[Lint front matter/Linter] ⭐ Run Git diff
[Lint front matter/Linter] ☁ git clone 'https://github.com/futuratrepadeira/changed-files' # ref=v3.0.1
[Lint front matter/Linter] 🐳 docker cp src=/Users/casey/.cache/act/futuratrepadeira-changed-files@v3.0.1 dst=/actions/
[Lint front matter/Linter] ❗ ::error::HttpError: Not Found
[Lint front matter/Linter] ❗ ::error::Not Found
[Lint front matter/Linter] ❌ Failure - Git diff
@robdodson commented on GitHub (Mar 6, 2020):
Try now. In the workflow.yml you'll need to change
./.github/actions/lint-yamlto./.github/actions/lint-front-matter.@cplee commented on GitHub (Mar 6, 2020):
fixed in master, will cut a release later today