[GH-ISSUE #2115] In README.md, mention that we can use if: ${{ github.actor != 'nektos/act' }} instead of github.event.act and env.ACT #1010

Closed
opened 2026-03-01 21:48:11 +03:00 by kerem · 3 comments
Owner

Originally created by @NatoBoram on GitHub (Dec 7, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/2115

Details

From what I'm reading, env.ACT can't be used for skipping jobs and github.event.act needs a JSON file to be defined and it needs to be added to the CLI arguments so it can work.

In contrast, github.actor != 'nektos/act' works in every scenarios.

Originally created by @NatoBoram on GitHub (Dec 7, 2023). Original GitHub issue: https://github.com/nektos/act/issues/2115 ### Details From what I'm reading, `env.ACT` can't be used for skipping jobs and `github.event.act` needs a JSON file to be defined and it needs to be added to the CLI arguments so it can work. In contrast, `github.actor != 'nektos/act'` works in every scenarios.
kerem 2026-03-01 21:48:11 +03:00
Author
Owner

@github-actions[bot] commented on GitHub (Jun 5, 2024):

Issue is stale and will be closed in 14 days unless there is new activity

<!-- gh-comment-id:2148607707 --> @github-actions[bot] commented on GitHub (Jun 5, 2024): Issue is stale and will be closed in 14 days unless there is new activity
Author
Owner

@github-actions[bot] commented on GitHub (Dec 7, 2024):

Issue is stale and will be closed in 14 days unless there is new activity

<!-- gh-comment-id:2524684388 --> @github-actions[bot] commented on GitHub (Dec 7, 2024): Issue is stale and will be closed in 14 days unless there is new activity
Author
Owner

@NatoBoram commented on GitHub (Dec 23, 2024):

https://drewdevault.com/2021/10/26/stalebot.html

<!-- gh-comment-id:2559057571 --> @NatoBoram commented on GitHub (Dec 23, 2024): https://drewdevault.com/2021/10/26/stalebot.html
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#1010
No description provided.