[PR #1520] [MERGED] test: make sure workflow_call is not a github event calling our workflow #1985

Closed
opened 2026-03-01 21:53:32 +03:00 by kerem · 0 comments
Owner

📋 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: masterHead: ensure-workflow_call-does-not-exist


📝 Commits (2)

  • a94421f test: make sure workflow_call is not a github event calling our workflow
  • c956d2d Merge 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.

## 📋 Pull Request Information **Original PR:** https://github.com/nektos/act/pull/1520 **Author:** [@KnisterPeter](https://github.com/KnisterPeter) **Created:** 12/19/2022 **Status:** ✅ Merged **Merged:** 1/10/2023 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `master` ← **Head:** `ensure-workflow_call-does-not-exist` --- ### 📝 Commits (2) - [`a94421f`](https://github.com/nektos/act/commit/a94421f7a8dfd3e5e9851534b5d1c8830c2b40ac) test: make sure workflow_call is not a github event calling our workflow - [`c956d2d`](https://github.com/nektos/act/commit/c956d2d8c14b4ef8009ed0a9d4cbb1ef308dda17) Merge branch 'master' into ensure-workflow_call-does-not-exist ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `pkg/runner/testdata/.github/workflows/local-reusable-workflow.yml` (+5 -0) </details> ### 📄 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:53:32 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#1985
No description provided.