[GH-ISSUE #340] Empty workflow file causes unintuitive EOF error #242

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

Originally created by @iwagner-inmar on GitHub (Aug 19, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/340

Version: act version 0.2.10

If you have a workflow file that is empty or completely commented out yaml, act will fail to run, with the error message Error: EOF

Reproduce steps:

  1. Start with a working repo layout
  2. touch .github/workflows/empty.yaml
  3. Run act
    $ act
    Error: EOF
    
Originally created by @iwagner-inmar on GitHub (Aug 19, 2020). Original GitHub issue: https://github.com/nektos/act/issues/340 Version: `act version 0.2.10` If you have a workflow file that is empty or completely commented out yaml, act will fail to run, with the error message `Error: EOF` Reproduce steps: 1. Start with a working repo layout 1. `touch .github/workflows/empty.yaml` 1. Run `act` ```sh $ act Error: EOF ```
kerem closed this issue 2026-03-01 21:41:44 +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#242
No description provided.