Skip to content

Commit

Permalink
updated workflows to trigger on push to main branch to avoid duplicat…
Browse files Browse the repository at this point in the history
…e workflows for the same commit

Signed-off-by: Sumanth Lingappa <[email protected]>
  • Loading branch information
sumanth-lingappa committed May 10, 2024
1 parent 786f989 commit ce5ba09
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/bandit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
bandit-check:
runs-on: ubuntu-latest
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ name: ansible-lint
on:
workflow_dispatch:
pull_request:
paths-ignore:
paths-ignore:
- .github/**
- assets/**
- docs/**
- .whitesource
- .yamlfmt
- .yamllint
push:
branches:
- main
paths-ignore:
- .github/**
- assets/**
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
- plugins/**
- tests/**
push:
branches:
- main
paths:
- plugins/**
- tests/**
Expand Down

0 comments on commit ce5ba09

Please sign in to comment.