Support for reusable workflows - workflow_call - workflow_dispatch #63
Labels
No labels
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: forgejo/runner#63
Loading…
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?
Hello,
First of all thanks for the awesome work.
I've found out that forgejo-runner doesn't support "reusable workflows" (https://docs.github.com/en/actions/using-workflows/reusing-workflows) , which I believe is really helpful reducing code duplication across many repositories in a Forgejo instance.
I couldn't find any roadmap of planned features for the runner, so I'm filling this issue as feature request. Please let me know if there are better methods for tracking it.
example:
reusable.yml
caller.yml
Although it is not really the same, I found local actions a useful substitute to this missing feature.
https://forgejo.org/docs/v1.20/user/actions/#local-actions
@earl-warren Thanks for the heads up.
I'm working around it to see if it works in my case until the feature is implemented. Have to get around
strategy: matrix
but should be doable with few lines copy&paste (way better than copying a few workflows to almost every repository).It would be great to have documentation for
strategy: matrix
if you can spare the time to update the documentation with that.There are fixes in ACT v1.20.0 which will be in the runner 3.4.0 release that should help. Tests should be written to https://code.forgejo.org/forgejo/end-to-end/actions to run a scenario that shows it actually works.
https://github.com/go-gitea/gitea/pull/28163 is needed server side.
Support for reusable workflowsto Support for reusable workflows - workflow_callSupport for reusable workflows - workflow_callto Support for reusable workflows - workflow_call - workflow_dispatch