Skip to content

Commit fe51325

Browse files
Merge pull request #435 from netscaler/update-github-actions
updated workflows to trigger on push to main branch to avoid duplicate workflows for the same commit
2 parents 786f989 + ce5ba09 commit fe51325

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.github/workflows/bandit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
workflow_dispatch:
55
pull_request:
66
push:
7+
branches:
8+
- main
79
jobs:
810
bandit-check:
911
runs-on: ubuntu-latest

.github/workflows/lint.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,16 @@ name: ansible-lint
33
on:
44
workflow_dispatch:
55
pull_request:
6-
paths-ignore:
6+
paths-ignore:
77
- .github/**
88
- assets/**
99
- docs/**
1010
- .whitesource
1111
- .yamlfmt
1212
- .yamllint
1313
push:
14+
branches:
15+
- main
1416
paths-ignore:
1517
- .github/**
1618
- assets/**

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
- plugins/**
88
- tests/**
99
push:
10+
branches:
11+
- main
1012
paths:
1113
- plugins/**
1214
- tests/**

0 commit comments

Comments
 (0)