Github Action run being trigger multiple times - on PUSH

Hey,
I created a simple workflow that can validate file on push event, but for some reason this build is running 4 times instead of just 1.

on:
  push:
    branches:
    - master

name: workloadslint

jobs:
  changedFiles:
    name: workloads linter
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - name: verify deployments
      env:
        SLACK_URL: ${{ secrets.SLACK_URL }}
      uses: ./.github/actions/kubeval

I saw this thread https://github.community/t5/GitHub-Actions/Action-run-being-trigger-multiple-times/td-p/30475
But the solution is for release events which have types - push doesn’t have.

thanks

8 Likes