mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #1520] [MERGED] test: make sure workflow_call is not a github event calling our workflow #1985
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#1985
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?
📋 Pull Request Information
Original PR: https://github.com/nektos/act/pull/1520
Author: @KnisterPeter
Created: 12/19/2022
Status: ✅ Merged
Merged: 1/10/2023
Merged by: @mergify[bot]
Base:
master← Head:ensure-workflow_call-does-not-exist📝 Commits (2)
a94421ftest: make sure workflow_call is not a github event calling our workflowc956d2dMerge branch 'master' into ensure-workflow_call-does-not-exist📊 Changes
1 file changed (+5 additions, -0 deletions)
View changed files
📝
pkg/runner/testdata/.github/workflows/local-reusable-workflow.yml(+5 -0)📄 Description
Since reusable workflows are defining inputs and ouputs using the
on.workflow_call syntax, this could also be triggered by a workflow_call
event. That event does not exist within GitHub and we should make
sure our worklow is not called by that kind of 'synthetic' event.
See https://github.com/nektos/act/pull/1423/files/74da5b085c0c4d08c5e5bf53501e555cb585b26c#r1042413431
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.