[GH-ISSUE #400] Support for other workflow actions #282

Closed
opened 2026-03-01 21:42:01 +03:00 by kerem · 5 comments
Owner

Originally created by @molivasdat on GitHub (Oct 21, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/400

act -l does not show the job if the event is not push or pull (the on: stanza)
If I set this to workflow_dispatch, act will not see the job.
If I uncomment push,
act will see the job and be able to run it locally.

name: Liquibase_Simple

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
  workflow_dispatch:
  #push:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
  SimpleCLI:
    runs-on: ubuntu-latest
    steps: 
    # Runs a set of commands using the runners shell 
    - uses: actions/checkout@v2
    - name: What OS is running
      run: uname -a
Originally created by @molivasdat on GitHub (Oct 21, 2020). Original GitHub issue: https://github.com/nektos/act/issues/400 act -l does not show the job if the event is not push or pull (the **on:** stanza) If I set this to [workflow_dispatch](https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#manual-events), act will not see the job. If I uncomment push, act will see the job and be able to run it locally. ```# This is a basic workflow to help you get started with Actions name: Liquibase_Simple # Controls when the action will run. Triggers the workflow on push or pull request # events but only for the master branch on: workflow_dispatch: #push: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: SimpleCLI: runs-on: ubuntu-latest steps: # Runs a set of commands using the runners shell - uses: actions/checkout@v2 - name: What OS is running run: uname -a ```
kerem 2026-03-01 21:42:01 +03:00
  • closed this issue
  • added the
    stale
    label
Author
Owner

@revmischa commented on GitHub (Dec 11, 2020):

I would love it if this worked as well!

<!-- gh-comment-id:743384638 --> @revmischa commented on GitHub (Dec 11, 2020): I would love it if this worked as well!
Author
Owner

@github-actions[bot] commented on GitHub (Jan 16, 2021):

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

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

@edtan commented on GitHub (Jan 17, 2021):

The act --list issue is a duplicate of #317. You will need to specify the event type: act workflow_dispatch --list.

If you want to run the workflow_dispatch event, you need to explicitly specify the event type:

act workflow_dispatch

See also #484

<!-- gh-comment-id:761870266 --> @edtan commented on GitHub (Jan 17, 2021): The `act --list` issue is a duplicate of #317. You will need to specify the event type: `act workflow_dispatch --list`. If you want to run the `workflow_dispatch` event, you need to explicitly specify the event type: ``` act workflow_dispatch ``` See also #484
Author
Owner

@github-actions[bot] commented on GitHub (Feb 18, 2021):

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

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

@molivasdat commented on GitHub (Mar 4, 2021):

Thanks so much so updating the readme and the update to examples to show other event types! Great project!

<!-- gh-comment-id:790601228 --> @molivasdat commented on GitHub (Mar 4, 2021): Thanks so much so updating the readme and the update to examples to show other event types! Great project!
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#282
No description provided.