Skip to content

Workflow not running on push #24943

Answered by airtower-luna
mgwc asked this question in Actions
Discussion options

You must be logged in to vote

I think you’re just excluding main, without specifying that the workflow should run on other branches. Try this:

on:
  push:
    branches: 
      - '**'
      - '!main'

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Packages Host your dependencies, libraries, and production-ready code, right from your repository Product Feedback
2 participants