Skip to content

Commit

Permalink
Merge pull request #435 from netscaler/update-github-actions
Browse files Browse the repository at this point in the history
updated workflows to trigger on push to main branch to avoid duplicate workflows for the same commit
  • Loading branch information
sumanth-lingappa authored May 10, 2024
2 parents 786f989 + ce5ba09 commit fe51325
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 fe51325

Please sign in to comment.