on.push.branches doesn't work

Here I have workflow.

https://github.com/kwladyka/form-validator-cljs/blob/master/.github/workflows/gh-pages.yaml


on:  
  push:  
    branches:  
    - doc

Which should trigger when push to doc branch in this repository. But nothing is happening. I can’t make it to run this workflow.

It looks like it doesn’t monitor doc branch.

When I enter into this workflow in github actions I see “No results matched your search.” and in Branch filter I can choose only master.

I think the reason it’s not working is because your workflow doesn’t exist in the “doc” branch.

Yes, I realised that after went to sleep. The structure of YAML on: misslead me. It works more like jenkins, not concourse cicd

This happened to me when I copied on push branch from the docs. It said “main” while my old repo still uses “master”. :slight_smile: