Skip to content

Commit

Permalink
Deps: Unpin greenbone actions (we trust them)
Browse files Browse the repository at this point in the history
  • Loading branch information
y0urself authored and greenbonebot committed Jan 6, 2025
1 parent e31766d commit 185947a
Show file tree
Hide file tree
Showing 27 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion admin-bypass/action.yaml
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 pontos
uses: greenbone/actions/setup-pontos@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
uses: greenbone/actions/setup-pontos@v3
- name: allow/not allow bypass?
run: |
if [[ "${{inputs.allow}}" == "true" ]];
Expand Down
2 changes: 1 addition & 1 deletion awx-run/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ runs:
steps:
- name: Install Ansible
if: ${{ !startsWith(runner.name, inputs.skip-installation-on) }}
uses: greenbone/actions/pipx@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
uses: greenbone/actions/pipx@v3
with:
install: ansible
include-deps: 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@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Python ${{ inputs.python-version }} and pontos
uses: greenbone/actions/setup-pontos@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
uses: greenbone/actions/setup-pontos@v3
with:
python-version: ${{ inputs.python-version}}
- name: Check version information
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 @@ -157,7 +157,7 @@ runs:

- name: Container signing
if: ${{ github.event_name != 'pull_request' && inputs.cosign-key && inputs.cosign-key-password }}
uses: greenbone/actions/container-signing@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
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-multi-arch-manifest/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ runs:
- name: Signing Manifest
if: ${{ inputs.cosign-key && inputs.cosign-key-password }}
uses: greenbone/actions/container-signing@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
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 conventional-commits/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ runs:
git fetch origin ${{ inputs.head-ref }}
shell: bash
- name: Set up Python and Poetry
uses: greenbone/actions/poetry@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
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 @@ -38,7 +38,7 @@ runs:
using: "composite"
steps:
- name: Install poetry
uses: greenbone/actions/poetry@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
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@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
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 @@ -50,7 +50,7 @@ runs:
using: "composite"
steps:
- name: Set up Python and Poetry
uses: greenbone/actions/poetry@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
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 @@ -27,7 +27,7 @@ runs:
- run: echo "Install project with ${{ inputs.dependency-manager }}"
shell: bash
- name: Install Project
uses: greenbone/actions/install-node@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
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@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
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@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
uses: greenbone/actions/setup-pontos@v3
- name: lock/unlock?
run: |
if [[ "${{inputs.lock}}" == "true" ]];
Expand Down
2 changes: 1 addition & 1 deletion mattermost-notify/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ runs:

- name: Install
if: ${{ !startsWith(runner.name, inputs.skip-installation-on) }}
uses: greenbone/actions/pipx@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
uses: greenbone/actions/pipx@v3
id: pipx
with:
python-version: "3.10"
Expand Down
2 changes: 1 addition & 1 deletion mypy-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@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
uses: greenbone/actions/poetry@v3
with:
python-version: ${{ inputs.python-version }}
poetry-version: ${{ inputs.poetry-version }}
Expand Down
2 changes: 1 addition & 1 deletion oci-info/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ runs:
using: "composite"
steps:
- name: Set up Python and Poetry
uses: greenbone/actions/poetry@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
uses: greenbone/actions/poetry@v3
with:
python-version: ${{ inputs.python-version }}
working-directory: ${{ github.action_path }}
Expand Down
2 changes: 1 addition & 1 deletion poetry/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ runs:
cache: ${{ inputs.cache == 'true' && 'poetry' || '' }}
cache-dependency-path: ${{ inputs.cache-dependency-path }}
- name: Set up poetry
uses: greenbone/actions/pipx@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
uses: greenbone/actions/pipx@v3
with:
python-path: ${{ steps.python.outputs.python-path }}
cache: ${{ inputs.cache-poetry-installation }}
Expand Down
2 changes: 1 addition & 1 deletion pr-conventional-commit-labeler/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ runs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python and Poetry
uses: greenbone/actions/poetry@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
uses: greenbone/actions/poetry@v3
with:
python-version: ${{ inputs.python-version }}
poetry-version: ${{ inputs.poetry-version }}
Expand Down
10 changes: 5 additions & 5 deletions release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,13 @@ runs:
ref: ${{ inputs.ref }}
repository: ${{ inputs.repository }}
- name: Set git name, mail and origin
uses: greenbone/actions/set-github-user@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
uses: greenbone/actions/set-github-user@v3
with:
user: ${{ inputs.github-user }}
mail: ${{ inputs.github-user-mail }}
token: ${{ inputs.github-user-token }}
- name: Set up Python and pontos
uses: greenbone/actions/setup-pontos@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
uses: greenbone/actions/setup-pontos@v3
id: virtualenv
with:
python-version: ${{ inputs.python-version }}
Expand Down Expand Up @@ -171,7 +171,7 @@ runs:

# Enable admin bypass
- name: Allow admin users bypassing protection on ${{ inputs.ref}} branch
uses: greenbone/actions/admin-bypass@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
uses: greenbone/actions/admin-bypass@v3
with:
allow: "true"
github-token: ${{ inputs.github-user-token }}
Expand All @@ -191,15 +191,15 @@ runs:
# Disable admin bypass
- name: Disable bypassing protection on ${{ inputs.ref}} branch for admin users
if: always()
uses: greenbone/actions/admin-bypass@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
uses: greenbone/actions/admin-bypass@v3
with:
allow: "false"
github-token: ${{ inputs.github-user-token }}
branch: ${{ inputs.ref}}

# Signing
- name: Sign assets for released version
uses: greenbone/actions/sign-release-files@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
uses: greenbone/actions/sign-release-files@v3
if: inputs.sign-release-files == 'true' && inputs.gpg-key && inputs.gpg-fingerprint && inputs.gpg-passphrase
with:
python-version: ${{ inputs.python-version }}
Expand Down
6 changes: 3 additions & 3 deletions sbom-upload/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ runs:
filePath: "_manifest/spdx_2.2/"
- name: Setup github user
if: inputs.git-user && inputs.git-user-email && inputs.token
uses: greenbone/actions/set-github-user@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
uses: greenbone/actions/set-github-user@v3
with:
user: ${{ inputs.git-user }}
mail: ${{ inputs.git-user-email }}
token: ${{ inputs.token }}
- name: Disable branch protection for admin user
if: always() && inputs.bypass-branch-protection && inputs.git-user && inputs.git-user-email && inputs.token
uses: greenbone/actions/admin-bypass@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
uses: greenbone/actions/admin-bypass@v3
with:
allow: "true"
github-token: ${{ inputs.token }}
Expand All @@ -60,7 +60,7 @@ runs:
git push
- name: Enable branch protection for admin user
if: always() && inputs.bypass-branch-protection && inputs.git-user && inputs.git-user-email && inputs.token
uses: greenbone/actions/admin-bypass@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
uses: greenbone/actions/admin-bypass@v3
with:
allow: "false"
github-token: ${{ inputs.token }}
Expand Down
2 changes: 1 addition & 1 deletion scp/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ runs:
chmod 0600 '${{ inputs.ssh-tmp }}/key.ssh'
- name: Create ssh known hosts file
uses: greenbone/actions/ssh-known-hosts@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
uses: greenbone/actions/ssh-known-hosts@v3
with:
known_hosts: ${{ inputs.known-hosts }}

Expand Down
2 changes: 1 addition & 1 deletion setup-pontos/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ runs:
shell: bash
- name: Install pontos via pipx
id: pipx
uses: greenbone/actions/pipx@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
uses: greenbone/actions/pipx@v3
with:
python-version: ${{ steps.pontos.outputs.installed == 'false' && inputs.python-version || '' }}
install: ${{ steps.pontos.outputs.installed == 'false' && 'pontos' || '' }}
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 @@ -87,7 +87,7 @@ runs:
with:
repository: ${{ inputs.repository }}
- name: Set up Python and pontos
uses: greenbone/actions/setup-pontos@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
uses: greenbone/actions/setup-pontos@v3
with:
python-version: ${{ inputs.python-version }}
- name: Import gpg key from secrets
Expand Down
2 changes: 1 addition & 1 deletion ssh-run-cmd/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ runs:
echo '${{ inputs.ssh-private-key }}' > '${{ inputs.ssh-tmp }}/key.ssh'
chmod 0600 '${{ inputs.ssh-tmp }}/key.ssh'
- name: Create ssh known hosts file
uses: greenbone/actions/ssh-known-hosts@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
uses: greenbone/actions/ssh-known-hosts@v3
with:
known_hosts: ${{ inputs.known-hosts }}
- name: Run bash cmd on remote host
Expand Down
2 changes: 1 addition & 1 deletion test-node/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ runs:
- run: echo "Install project with ${{ inputs.dependency-manager }}"
shell: bash
- name: Install Project
uses: greenbone/actions/install-node@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
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@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
uses: greenbone/actions/poetry@v3
with:
python-version: ${{ inputs.python-version }}
poetry-version: ${{ inputs.poetry-version }}
Expand Down
4 changes: 2 additions & 2 deletions update-header/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ runs:
with:
ref: ${{ inputs.target }}
- name: Set up pontos
uses: greenbone/actions/setup-pontos@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
uses: greenbone/actions/setup-pontos@v3
with:
python-version: ${{ inputs.python-version }}
- name: Set git name, mail and origin
uses: greenbone/actions/set-github-user@62ad2c65d4d5e59b7e6608a4267a41c03ccb3cfd # v3.27.22
uses: greenbone/actions/set-github-user@v3
with:
user: ${{ inputs.github-user }}
mail: ${{ inputs.github-user-mail }}
Expand Down

0 comments on commit 185947a

Please sign in to comment.