Skip to content

Commit

Permalink
⬆ Bump actions/checkout from 3 to 4 (#1062)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Mateus Oliveira <msouzaol@redhat.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mateus Oliveira <msouzaol@redhat.com>
  • Loading branch information
dependabot[bot] and mateusoliveira43 committed Sep 22, 2023
1 parent 0f4d64a commit 9a1ca53
Show file tree
Hide file tree
Showing 16 changed files with 38 additions and 19 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
version: ${{ steps.variables.outputs.version }}
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: dorny/paths-filter@v2
id: changes
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
needs: setup
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build and push committime exporter
uses: "./.github/workflow_templates/build_push_exporters"
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
needs: setup
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Log in to Quay.io
uses: redhat-actions/podman-login@v1
Expand All @@ -149,7 +149,7 @@ jobs:
needs: [setup, build-and-push-operator-images]
steps:
- name: Checkout marketplace code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: ${{ env.FORK_USER }}/community-operators-prod
token: ${{ secrets.FORK_USER_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/chart-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/check-python-dependencies.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Check Python dependencies
on:
pull_request:
branches: [ master ]
paths:
- 'pyproject.toml'
- 'poetry.lock'
Expand All @@ -9,7 +10,7 @@ jobs:
check-python-dependencies:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Continuos Integration

on:
pull_request:
branches: [ master ]
paths:
- '.github/workflows/ci.yml'
schedule:
Expand All @@ -11,7 +12,7 @@ jobs:
project-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
with:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/conftest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ name: Conftest

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

pull_request:
branches: [ master ]
paths:
- '_test/**'
- 'charts/**'
Expand All @@ -24,7 +26,7 @@ jobs:
python-version: ['3.9']
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/doc-check.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Documentation check
on:
pull_request:
branches: [ master ]
paths:
- 'docs/**'
- '.github/workflows/doc-check.yml'
Expand All @@ -16,7 +17,7 @@ jobs:
python-version: ['3.9', '3.10', '3.11']
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
python-version: ['3.9', '3.10', '3.11']
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ needs.setup.outputs.branch_ref }}

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/mockoon-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Mockoon Tests
on:
push:
branches: [ master ]
paths:
- 'exporters/**'
- 'mocks/**'
Expand All @@ -10,6 +11,7 @@ on:
- 'scripts/run-mockoon-tests.sh'

pull_request:
branches: [ master ]
paths:
- 'exporters/**'
- 'mocks/**'
Expand All @@ -27,7 +29,7 @@ jobs:
python-version: ['3.9', '3.10', '3.11']
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/pre-commit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ name: Pre-commit test

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

pull_request:
branches: [ master ]
paths:
- '.pre-commit-config.yaml'
- '.github/workflows/pre-commit-test.yml'
Expand All @@ -22,7 +24,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
# with:
# fetch-depth: "0"

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/prometheus-rules.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: Prometheus Rules Tests
on:
push:
branches: [ master ]
paths:
- '_test/**'
- 'charts/pelorus/**'
- '.github/workflows/prometheus-rules.yml'

pull_request:
branches: [ master ]
paths:
- '_test/**'
- 'charts/pelorus/**'
Expand All @@ -21,7 +23,7 @@ jobs:
python-version: ['3.9']
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/python-formatting.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Check Python Formatting
on:
pull_request:
branches: [ master ]
paths:
- '.github/workflows/python-formatting.yml'
- 'pyproject.toml'
Expand All @@ -16,7 +17,7 @@ jobs:
python-version: ['3.9', '3.10', '3.11']
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/python-linting.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Pylava
on:
pull_request:
branches: [ master ]
paths:
- 'pyproject.toml'
- '.github/workflows/python-linting.yml'
Expand All @@ -16,7 +17,7 @@ jobs:
python-version: ['3.9', '3.10', '3.11']
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
name: Shellcheck Tests
on:
push:
branches: [ master ]
paths:
- '.github/workflows/shellcheck.yml'
- 'Makefile'
- '**.sh'
pull_request:
branches: [ master ]
paths:
- '.github/workflows/shellcheck.yml'
- 'Makefile'
Expand All @@ -21,7 +23,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
needs: setup
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ needs.setup.outputs.branch_ref }}

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

pull_request:
branches: [ master ]
paths:
- 'exporters/**'
- 'pyproject.toml'
Expand All @@ -23,7 +25,7 @@ jobs:
python-version: ['3.9', '3.10', '3.11']
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: Unit Tests
on:
push:
branches: [ master ]
paths:
- 'exporters/**'
- 'pyproject.toml'
- '.github/workflows/unittests.yml'
- 'Makefile'

pull_request:
branches: [ master ]
paths:
- 'exporters/**'
- 'pyproject.toml'
Expand All @@ -23,7 +25,7 @@ jobs:
python-version: ['3.9', '3.10', '3.11']
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand Down

0 comments on commit 9a1ca53

Please sign in to comment.