Skip to content

Commit

Permalink
Update all non-CD actions to run against main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
etsauer committed Sep 25, 2024
1 parent bc205f3 commit 2465b32
Show file tree
Hide file tree
Showing 14 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/chart-lint.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Chart Lint
on:
push:
branches: [ master ]
branches: [ main ]
paths:
- 'exporters/**'
- 'charts/**'
Expand All @@ -11,7 +11,7 @@ on:
- 'Makefile'

pull_request:
branches: [ master ]
branches: [ main ]
paths:
- 'exporters/**'
- 'charts/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-python-dependencies.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Check Python dependencies
on:
pull_request:
branches: [ master ]
branches: [ main ]
paths:
- 'pyproject.toml'
- 'poetry.lock'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Continuos Integration

on:
pull_request:
branches: [ master ]
branches: [ main ]
paths:
- '.github/workflows/ci.yml'
schedule:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/conftest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ name: Conftest

on:
push:
branches: [ master ]
branches: [ main ]
paths:
- '_test/**'
- 'charts/**'
- '.github/workflows/conftest.yml'
- 'Makefile'

pull_request:
branches: [ master ]
branches: [ main ]
paths:
- '_test/**'
- 'charts/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/doc-check.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Documentation check
on:
pull_request:
branches: [ master ]
branches: [ main ]
paths:
- 'docs/**'
- '.github/workflows/doc-check.yml'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mockoon-tests.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Mockoon Tests
on:
push:
branches: [ master ]
branches: [ main ]
paths:
- 'exporters/**'
- 'mocks/**'
Expand All @@ -11,7 +11,7 @@ on:
- 'scripts/run-mockoon-tests.sh'

pull_request:
branches: [ master ]
branches: [ main ]
paths:
- 'exporters/**'
- 'mocks/**'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: Pre-commit test

on:
push:
branches: [ master ]
branches: [ main ]
paths:
- '.pre-commit-config.yaml'
- '.github/workflows/pre-commit-test.yml'
- 'Makefile'

pull_request:
branches: [ master ]
branches: [ main ]
paths:
- '.pre-commit-config.yaml'
- '.github/workflows/pre-commit-test.yml'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prometheus-rules.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Prometheus Rules Tests
on:
push:
branches: [ master ]
branches: [ main ]
paths:
- '_test/**'
- 'charts/pelorus/**'
- '.github/workflows/prometheus-rules.yml'

pull_request:
branches: [ master ]
branches: [ main ]
paths:
- '_test/**'
- 'charts/pelorus/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-formatting.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Check Python Formatting
on:
pull_request:
branches: [ master ]
branches: [ main ]
paths:
- '.github/workflows/python-formatting.yml'
- 'pyproject.toml'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-linting.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Pylava
on:
pull_request:
branches: [ master ]
branches: [ main ]
paths:
- 'pyproject.toml'
- '.github/workflows/python-linting.yml'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: Shellcheck Tests
on:
push:
branches: [ master ]
branches: [ main ]
paths:
- '.github/workflows/shellcheck.yml'
- 'Makefile'
- '**.sh'
pull_request:
branches: [ master ]
branches: [ main ]
paths:
- '.github/workflows/shellcheck.yml'
- 'Makefile'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trigger-test-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Trigger test images

on:
pull_request:
branches: [ master ]
branches: [ main ]
paths:
- 'exporters/**'
- 'charts/**'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/typecheck.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: Type Check (ignore failures for now)
on:
push:
branches: [ master ]
branches: [ main ]
paths:
- 'exporters/**'
- 'pyproject.toml'
- '.github/workflows/typecheck.yml'
- 'Makefile'

pull_request:
branches: [ master ]
branches: [ main ]
paths:
- 'exporters/**'
- 'pyproject.toml'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: Unit Tests
on:
push:
branches: [ master ]
branches: [ main ]
paths:
- 'exporters/**'
- 'pyproject.toml'
- '.github/workflows/unittests.yml'
- 'Makefile'

pull_request:
branches: [ master ]
branches: [ main ]
paths:
- 'exporters/**'
- 'pyproject.toml'
Expand Down

0 comments on commit 2465b32

Please sign in to comment.