A daemon that connects to a Forgejo instance and runs jobs for continuous integration. The installation and usage instructions are part of the Forgejo documentation https://forgejo.org/docs/next/admin/actions/
Find a file
Michael Heap 555cdcebbb Pull latest changes from ref using cached repo (#267)
* Pull latest changes from ref using cached repo

Act switched from checking out a branch to checking out
a hash in order to resolve #24 - see
4e66f2c8be

This had a side effect of preventing `w.Pull()` from updating
to the latest commit if a ref was a branch/tag and the repo
already exists on disk.

This commit checks if input.Ref is equivalent to the resolved
hash, and runs `r.Fetch()` and checks out the branch for input.Ref
if it is different. `w.Pull()` can then pull the latest changes
before we checkout `*hash` again like normal

* Extract CloneIfRequired to reduce cyclomatic complexity

Co-authored-by: Casey Lee <cplee@nektos.com>
2020-06-09 07:43:26 -07:00
.github Fix 132 - support for chocolatey install (#144) 2020-03-09 17:49:55 -07:00
act Pull latest changes from ref using cached repo (#267) 2020-06-09 07:43:26 -07:00
cmd Change -W command to accept a single file 2020-05-26 23:29:50 -04:00
main.go Initial commit with support for GitHub actions 2019-01-12 20:45:25 -08:00