nektos / act

Run your GitHub Actions locally 🚀
https://nektosact.com
MIT License
53.83k stars 1.34k forks source link

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

Open NatoBoram opened 9 months ago

NatoBoram commented 9 months ago

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.

github-actions[bot] commented 3 months ago

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

NatoBoram commented 3 months ago

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