Skip to content

Commit 0305dfa

Browse files
tbauriedelwidhalmt
andauthored
Remove actions for pushs (#303)
At the moment workflows are triggered for PRs and pushs. The workflow to contribute says that a PR must be created beforehand for each contribution into main. For this reason (and to avoid duplicate workflows), github workflows should only be triggered for PRs. I have also checked this branch before creating the PR. No workflow were scheduled. Fixes #302 --------- Co-authored-by: Thomas Widhalm <[email protected]>
1 parent 5a91f3b commit 0305dfa

File tree

8 files changed

+1
-73
lines changed

8 files changed

+1
-73
lines changed

.github/workflows/test_linting.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,9 @@ on:
1717
rolename:
1818
required: true
1919
type: string
20-
push:
21-
branches:
22-
- 'feature/**'
23-
- 'fix/**'
24-
- '!doc/**'
25-
paths:
26-
- '.github/workflows/test_linting.yml'
27-
- '.config/ansible-lint.yml'
28-
- '.yamllint'
2920
pull_request:
3021
branches:
31-
- 'feature/**'
32-
- 'fix/**'
33-
- '!doc/**'
34-
paths:
35-
- '.github/workflows/test_linting.yml'
36-
- '.config/ansible-lint.yml'
37-
- '.yamllint'
22+
- '*'
3823

3924
jobs:
4025
lint:

.github/workflows/test_plugins.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,6 @@ on:
1212
- info
1313
- warning
1414
- debug
15-
push:
16-
branches:
17-
- 'feature/**'
18-
- 'fix/**'
19-
- '!doc/**'
20-
paths:
21-
- 'plugins/**'
22-
- '.github/workflows/test_plugins.yml'
23-
- 'molecule/plugins/**'
24-
- '.config/pep8.yml'
25-
- 'tests/**'
2615
pull_request:
2716
branches:
2817
- 'feature/**'

.github/workflows/test_role_beats.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,6 @@ on:
1212
- info
1313
- warning
1414
- debug
15-
push:
16-
branches:
17-
- 'feature/**'
18-
- 'fix/**'
19-
- '!doc/**'
20-
paths:
21-
- 'roles/beats/**'
22-
- '.github/workflows/test_role_beats.yml'
23-
- 'molecule/beats_**'
2415
pull_request:
2516
branches:
2617
- 'feature/**'

.github/workflows/test_role_elasticsearch.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,6 @@ on:
1212
- info
1313
- warning
1414
- debug
15-
push:
16-
branches:
17-
- 'feature/**'
18-
- 'fix/**'
19-
- '!doc/**'
20-
paths:
21-
- 'roles/elasticsearch/**'
22-
- '.github/workflows/test_role_elasticsearch.yml'
23-
- 'molecule/elasticsearch_**'
2415
pull_request:
2516
branches:
2617
- 'feature/**'

.github/workflows/test_role_kibana.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,6 @@ on:
1212
- info
1313
- warning
1414
- debug
15-
push:
16-
branches:
17-
- 'feature/**'
18-
- 'fix/**'
19-
- '!doc/**'
20-
paths:
21-
- 'roles/kibana/**'
22-
- '.github/workflows/test_role_kibana.yml'
23-
- 'molecule/kibana_**'
2415
pull_request:
2516
branches:
2617
- 'feature/**'

.github/workflows/test_role_logstash.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,6 @@ on:
1212
- info
1313
- warning
1414
- debug
15-
push:
16-
branches:
17-
- 'feature/**'
18-
- 'fix/**'
19-
- '!doc/**'
20-
paths:
21-
- 'roles/logstash/**'
22-
- '.github/workflows/test_role_logstash.yml'
23-
- 'molecule/logstash_**'
2415
pull_request:
2516
branches:
2617
- 'feature/**'

.github/workflows/test_role_repos.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,6 @@ on:
1111
- info
1212
- warning
1313
- debug
14-
push:
15-
branches:
16-
- 'feature/**'
17-
- 'fix/**'
18-
- '!doc/**'
19-
paths:
20-
- 'roles/repos/**'
21-
- '.github/workflows/test_role_repos.yml'
22-
- 'molecule/repos_**'
2314
pull_request:
2415
branches:
2516
- 'feature/**'

.github/workflows/test_roles_pr.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ on:
1313
- warning
1414
- debug
1515
pull_request:
16-
push:
1716
merge_group:
1817

1918
jobs:

0 commit comments

Comments
 (0)