Skip to content

Commit

Permalink
Change: Use v3 actions in composite actions
Browse files Browse the repository at this point in the history
Update all actions to use our new v3 versions.
  • Loading branch information
bjoernricks committed Jul 12, 2023
1 parent 9baacab commit 3aa314e
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion admin-bypass/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ runs:
steps:
- name: Set up Python and pontos
id: virtualenv
uses: greenbone/actions/setup-pontos@v2
uses: greenbone/actions/setup-pontos@v3
- name: allow/not allow bypass?
run: |
if [[ "${{inputs.allow}}" == "true" ]];
Expand Down
2 changes: 1 addition & 1 deletion backport-pull-request/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ runs:
using: "composite"
steps:
- name: Set up Python and Poetry
uses: greenbone/actions/poetry@v2
uses: greenbone/actions/poetry@v3
with:
python-version: ${{ inputs.python-version }}
poetry-version: ${{ inputs.poetry-version }}
Expand Down
2 changes: 1 addition & 1 deletion check-version/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ runs:
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ inputs.python-version }} and pontos
uses: greenbone/actions/setup-pontos@v2
uses: greenbone/actions/setup-pontos@v3
id: virtualenv
with:
python-version: ${{ inputs.python-version}}
Expand Down
2 changes: 1 addition & 1 deletion container-build-push-3rd-gen/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ runs:
using: "composite"
steps:
- name: Container build and push 3rd gen
uses: greenbone/actions/container-build-push-generic@v2
uses: greenbone/actions/container-build-push-generic@v3
with:
build-context: ${{ inputs.build-context }}
build-docker-file: ${{ inputs.build-docker-file }}
Expand Down
2 changes: 1 addition & 1 deletion container-build-push-docker/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ runs:
using: "composite"
steps:
- name: Container build and push docker.io
uses: greenbone/actions/container-build-push-generic@v2
uses: greenbone/actions/container-build-push-generic@v3
with:
build-context: ${{ inputs.build-context }}
build-docker-file: ${{ inputs.build-docker-file }}
Expand Down
2 changes: 1 addition & 1 deletion container-build-push-generic/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ runs:

- name: Container signing
if: ${{ github.event_name != 'pull_request' }}
uses: greenbone/actions/container-signing@v2
uses: greenbone/actions/container-signing@v3
with:
cosign-key: ${{ inputs.cosign-key }}
cosign-key-password: ${{ inputs.cosign-key-password }}
Expand Down
2 changes: 1 addition & 1 deletion container-build-push-ghcr/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ runs:
using: "composite"
steps:
- name: Container build and push ghcr.io
uses: greenbone/actions/container-build-push-generic@v2
uses: greenbone/actions/container-build-push-generic@v3
with:
build-context: ${{ inputs.build-context }}
build-docker-file: ${{ inputs.build-docker-file }}
Expand Down
2 changes: 1 addition & 1 deletion conventional-commits/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ runs:
git fetch origin ${{ inputs.head-ref }}
shell: bash
- name: Set up Python and Poetry
uses: greenbone/actions/poetry@v2
uses: greenbone/actions/poetry@v3
with:
python-version: ${{ inputs.python-version }}
poetry-version: ${{ inputs.poetry-version }}
Expand Down
2 changes: 1 addition & 1 deletion coverage-python/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ runs:
using: "composite"
steps:
- name: Install poetry
uses: greenbone/actions/poetry@v2
uses: greenbone/actions/poetry@v3
with:
python-version: ${{ inputs.python-version }}
poetry-version: ${{ inputs.poetry-version }}
Expand Down
2 changes: 1 addition & 1 deletion download-artifact/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ runs:
using: "composite"
steps:
- name: Set up Python and Poetry
uses: greenbone/actions/poetry@v2
uses: greenbone/actions/poetry@v3
with:
python-version: ${{ inputs.python-version }}
poetry-version: ${{ inputs.poetry-version }}
Expand Down
2 changes: 1 addition & 1 deletion helm-version-upgrade/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ runs:
using: "composite"
steps:
- name: Set up Python and Poetry
uses: greenbone/actions/poetry@v2
uses: greenbone/actions/poetry@v3
with:
python-version: ${{ inputs.python-version }}
working-directory: ${{ github.action_path }}
Expand Down
2 changes: 1 addition & 1 deletion lint-node/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ runs:
- run: echo "Install project with ${{ inputs.dependency-manager }}"
shell: bash
- name: Install Project
uses: greenbone/actions/install-node@v2
uses: greenbone/actions/install-node@v3
with:
version: ${{ inputs.version }}
token: ${{ inputs.token }}
Expand Down
2 changes: 1 addition & 1 deletion lint-python/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ runs:
using: "composite"
steps:
- name: Install poetry
uses: greenbone/actions/poetry@v2
uses: greenbone/actions/poetry@v3
with:
python-version: ${{ inputs.python-version }}
poetry-version: ${{ inputs.poetry-version }}
Expand Down
2 changes: 1 addition & 1 deletion lock-branch/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ runs:
steps:
- name: Set up Python and pontos
id: virtualenv
uses: greenbone/actions/setup-pontos@v2
uses: greenbone/actions/setup-pontos@v3
- name: lock/unlock?
run: |
if [[ "${{inputs.lock}}" == "true" ]];
Expand Down
2 changes: 1 addition & 1 deletion mypy-python/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ runs:
using: "composite"
steps:
- name: Install poetry
uses: greenbone/actions/poetry@v2
uses: greenbone/actions/poetry@v3
with:
python-version: ${{ inputs.python-version }}
poetry-version: ${{ inputs.poetry-version }}
Expand Down
2 changes: 1 addition & 1 deletion sign-release-files/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ runs:
if: steps.checkout.outputs.exists != 'true'
uses: actions/checkout@v3
- name: Set up Python and pontos
uses: greenbone/actions/setup-pontos@v2
uses: greenbone/actions/setup-pontos@v3
id: virtualenv
with:
python-version: ${{ inputs.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion test-node/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ runs:
- run: echo "Install project with ${{ inputs.dependency-manager }}"
shell: bash
- name: Install Project
uses: greenbone/actions/install-node@v2
uses: greenbone/actions/install-node@v3
with:
version: ${{ inputs.version }}
token: ${{ inputs.token }}
Expand Down
2 changes: 1 addition & 1 deletion trigger-workflow/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ runs:
using: "composite"
steps:
- name: Set up Python and Poetry
uses: greenbone/actions/poetry@v2
uses: greenbone/actions/poetry@v3
with:
python-version: ${{ inputs.python-version }}
poetry-version: ${{ inputs.poetry-version }}
Expand Down
2 changes: 1 addition & 1 deletion update-header/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ runs:
fetch-depth: ${{ env.FETCH_DEPTH }}
ref: ${{ inputs.target }}
- name: Set up Poetry, python and the project
uses: greenbone/actions/poetry@v2
uses: greenbone/actions/poetry@v3
with:
python-version: ${{ inputs.python-version }}
poetry-version: ${{ inputs.poetry-version }}
Expand Down

0 comments on commit 3aa314e

Please sign in to comment.