You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 28, 2022. It is now read-only.
For example:
act -j check_rebase # fails on a merge commit
act -j check_history # fails unless on a merge commit, typically from bors
`act` uses the job ID rather than the job name; `bors` uses the job name.
`act` 0.2.0 doesn't support the `container: name:tag` syntax.
Start to support https://github.com/nektos/act for local testing. `act` has
partial support for GitHub actions. This change works around two issues:
1. Steps in GitHub actions can be run on the virtual machine host directly or
inside a container. The virtual machines are configure with a [long list] of
available software, including `git`. At present `act` does not make that
software available locally, so instead we run inside a container. The `act`
maintainer describes this as a [known issue].
2. The checkout on GitHub leaves a shallow repository. The checkout step on
`act` leaves a complete repository. Running `git fetch --unshallow` on a
complete repository fails with the error below. As a workaround add
`|| true` so it succeeds in both.
fatal: --unshallow on a complete repository does not make sense
[long list]:
https://github.com/actions/virtual-environments/blob/master/images/linux/Ubuntu1804-README.md
[known issue]: nektos/act#74 (comment)
0 commit comments