Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Github action does not trigger when I push code from a local to a remote branch

I created a Github action that prints out some strings with the statement. The action triggers when I make commits on github.com, but does not trigger when I make commits locally and push them to the remote repository at github.com. Why is this?

Here is my action...

name: FeatureCI
on:
  push:
    branches:
      - '*'
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - name: Run a one-line script
      run: echo "Only on featuer branches"
    - name: Run a multi-line script
      run: |
        echo "Only on featuer branches1"
        echo "Only on featuer branches2"
like image 939
GNG Avatar asked Jan 31 '26 22:01

GNG


1 Answers

Not a solution, but in my case it was just a delay on GitHub side.

After poking around with my workflow .yml file I found nothing wrong, and then GH suddenly started to run my pipelines.

like image 182
Evandro Pomatti Avatar answered Feb 03 '26 18:02

Evandro Pomatti