[GH-ISSUE #1318] finds workflow but no events #715

Closed
opened 2026-03-01 21:45:46 +03:00 by kerem · 1 comment
Owner

Originally created by @TheMoakMan on GitHub (Aug 25, 2022).
Original GitHub issue: https://github.com/nektos/act/issues/1318

I'm brand new to act and I'm having issues getting it to run my workflow file.

Jobs list is empty with the following workflow.
It find the workflow file but no events for push when running
act -l -v

I get the following output:

"no events found for workflow: push"

Here is the workflow file:

name: NodeJS Action Test

on:
  push:
    branches: [main]

jobs:
  TestNodeScript:
    runs-on: ubuntu-latest
    
    steps:
      - name: Check Out
        uses: actions/checkout@v2
        
      - name: Setup Node
        uses: actions/setup-node@v2.5.0
        with:
          node-version: '16'
      
      - name: Run Action
        uses: ./testing/nodejs-script@main
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Am I missing something? Is there an issue with parsing the original file because it uses a custom action or is expecting a payload from the events json?

Originally created by @TheMoakMan on GitHub (Aug 25, 2022). Original GitHub issue: https://github.com/nektos/act/issues/1318 I'm brand new to act and I'm having issues getting it to run my workflow file. Jobs list is empty with the following workflow. It find the workflow file but no events for push when running ```act -l -v``` I get the following output: ``` "no events found for workflow: push" ``` Here is the workflow file: ``` name: NodeJS Action Test on: push: branches: [main] jobs: TestNodeScript: runs-on: ubuntu-latest steps: - name: Check Out uses: actions/checkout@v2 - name: Setup Node uses: actions/setup-node@v2.5.0 with: node-version: '16' - name: Run Action uses: ./testing/nodejs-script@main with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ``` Am I missing something? Is there an issue with parsing the original file because it uses a custom action or is expecting a payload from the events json?
kerem 2026-03-01 21:45:46 +03:00
  • closed this issue
  • added the
    stale
    label
Author
Owner

@github-actions[bot] commented on GitHub (Sep 25, 2022):

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

<!-- gh-comment-id:1257088145 --> @github-actions[bot] commented on GitHub (Sep 25, 2022): Issue is stale and will be closed in 14 days unless there is new activity
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#715
No description provided.