mirror of
https://github.com/nektos/act.git
synced 2026-04-26 17:35:49 +03:00
[GH-ISSUE #89] Per-repo configuration #55
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#55
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 @prologic on GitHub (Feb 20, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/89
Now that #74 is completed, merged and working nicely (for the most part) we need a way to be able to write configuration on a per-repo / project basis and read from this.
Right now you can override the platform via the
-Pflag. This is great! It would be even better if a repo owner could define this in an.actrcconfig file in the top-level directory of the repo which would let us customize the wayactbehaves on a per repo / project basis.It would be equivalent of running (by hand):
Even better would be to recursively search for and read
.actrcso you can define a per-repo scoped configuration and if none exists default to a global one. I'm open to either just reading one defined in the default configuration location too if none exists in the repo.This would let me do a few things:
.actrcconfiguration) the runner used in our workflowsactto run the same GHA workflows defined as-is without having to think about it@prologic commented on GitHub (Feb 25, 2020):
Ahh you beat! I'll test this out in the nxt days and let you know how it all goes! I'll file any other issues that creep up or improvements that are needed. My end goal of course being "Be able to run workflows locally".