Skip to content

Commit

Permalink
Fix: Unpin greenbone actions (we trust them) (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
y0urself authored Jan 8, 2025
1 parent 4337eaf commit 2f5d05b
Show file tree
Hide file tree
Showing 17 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codecov-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install and calculate and upload coverage to codecov.io
uses: greenbone/actions/coverage-python@a1883bd24d2d921426b3f06413e84606ecd43bdd # v3.27.11
uses: greenbone/actions/coverage-python@v3
with:
python-version: ${{ inputs.python-version }}
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/container-build-push-2nd-gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
git status
echo ${{ inputs.ref-name }}
- uses: greenbone/actions/is-latest-tag@a1883bd24d2d921426b3f06413e84606ecd43bdd # v3.27.11
- uses: greenbone/actions/is-latest-tag@v3
id: latest
with:
# It looks like the action doesn't use its default value even when an empty input is set.
Expand All @@ -120,7 +120,7 @@ jobs:
- name: Container build and push 2nd gen
id: build-and-push
uses: greenbone/actions/container-build-push-generic@a1883bd24d2d921426b3f06413e84606ecd43bdd # v3.27.11
uses: greenbone/actions/container-build-push-generic@v3
with:
build-context: ${{ inputs.build-context }}
build-docker-file: ${{ inputs.build-docker-file }}
Expand Down Expand Up @@ -173,7 +173,7 @@ jobs:
- name: Container build and push 2nd gen
id: build-and-push
uses: greenbone/actions/container-build-push-generic@a1883bd24d2d921426b3f06413e84606ecd43bdd # v3.27.11
uses: greenbone/actions/container-build-push-generic@v3
with:
build-context: ${{ inputs.build-context }}
build-docker-file: ${{ inputs.build-docker-file }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/container-build-push-3rd-gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:

- name: Container build push 3rd gen
id: build-and-push
uses: greenbone/actions/container-build-push-generic@a1883bd24d2d921426b3f06413e84606ecd43bdd # v3.27.11
uses: greenbone/actions/container-build-push-generic@v3
with:
build-context: ${{ inputs.build-context }}
build-docker-file: ${{ inputs.build-docker-file }}
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
- name: Container build push 3rd gen
id: build-and-push
uses: greenbone/actions/container-build-push-generic@a1883bd24d2d921426b3f06413e84606ecd43bdd # v3.27.11
uses: greenbone/actions/container-build-push-generic@v3
with:
build-context: ${{ inputs.build-context }}
build-docker-file: ${{ inputs.build-docker-file }}
Expand Down Expand Up @@ -235,7 +235,7 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: Trigger product compose upgrade
uses: greenbone/actions/trigger-workflow@a1883bd24d2d921426b3f06413e84606ecd43bdd # v3.27.11
uses: greenbone/actions/trigger-workflow@v3
with:
token: ${{ secrets.GREENBONE_BOT_TOKEN }}
repository: "greenbone/automatix"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/container-build-push-feed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
- name: Container build and push 2nd gen
id: build-and-push
uses: greenbone/actions/container-build-push-generic@a1883bd24d2d921426b3f06413e84606ecd43bdd # v3.27.11
uses: greenbone/actions/container-build-push-generic@v3
with:
build-context: ${{ inputs.build-context }}
build-docker-file: ${{ inputs.build-docker-file }}
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
- name: Container build and push 3rd gen
id: build-and-push
uses: greenbone/actions/container-build-push-generic@a1883bd24d2d921426b3f06413e84606ecd43bdd # v3.27.11
uses: greenbone/actions/container-build-push-generic@v3
with:
build-context: ${{ inputs.build-context }}
build-docker-file: ${{ inputs.build-docker-file }}
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
tags: ${{ inputs.image-tags }}

- name: Create multi arch manifest
uses: greenbone/actions/container-multi-arch-manifest@a1883bd24d2d921426b3f06413e84606ecd43bdd # v3.27.11
uses: greenbone/actions/container-multi-arch-manifest@v3
with:
cosign-key: ${{ secrets.COSIGN_KEY_OPENSIGHT }}
cosign-key-password: ${{ secrets.COSIGN_KEY_PASSWORD_OPENSIGHT }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conventional-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Report Conventional Commits
uses: greenbone/actions/conventional-commits@a1883bd24d2d921426b3f06413e84606ecd43bdd # v3.27.11
uses: greenbone/actions/conventional-commits@v3
2 changes: 1 addition & 1 deletion .github/workflows/deploy-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
url: ${{ inputs.pypi-url }}
steps:
- name: Build and publish to PyPI
uses: greenbone/actions/pypi-upload@a1883bd24d2d921426b3f06413e84606ecd43bdd # v3.27.11
uses: greenbone/actions/pypi-upload@v3
with:
pypi-token: ${{ secrets.PYPI_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/docs-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install poetry and dependencies
uses: greenbone/actions/poetry@a1883bd24d2d921426b3f06413e84606ecd43bdd # v3.27.11
uses: greenbone/actions/poetry@v3
with:
python-version: ${{ inputs.python-version }}
- name: Build Documentation
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Check and lint python packages
uses: greenbone/actions/lint-python@a1883bd24d2d921426b3f06413e84606ecd43bdd # v3.27.11
uses: greenbone/actions/lint-python@v3
with:
packages: ${{ inputs.lint-packages }}
python-version: ${{ inputs.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notify-mattermost-2nd-gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
if: ${{ !cancelled() }}
steps:
- name: Notify Mattermost 2nd gen
uses: greenbone/actions/mattermost-notify@a1883bd24d2d921426b3f06413e84606ecd43bdd # v3.27.11
uses: greenbone/actions/mattermost-notify@v3
with:
url: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
channel: ${{ inputs.channel }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notify-mattermost-3rd-gen-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
if: ${{ !cancelled() }}
steps:
- name: Notify Mattermost 3rd gen ci
uses: greenbone/actions/mattermost-notify@a1883bd24d2d921426b3f06413e84606ecd43bdd # v3.27.11
uses: greenbone/actions/mattermost-notify@v3
with:
url: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
channel: "pd3rdgenci"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notify-mattermost-3rd-gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
if: ${{ !cancelled() && (inputs.status == 'failure' || inputs.status == 'success') }}
steps:
- name: Notify Mattermost 3rd gen
uses: greenbone/actions/mattermost-notify@a1883bd24d2d921426b3f06413e84606ecd43bdd # v3.27.11
uses: greenbone/actions/mattermost-notify@v3
with:
url: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
channel: "pd3rdgendeploymentnotifications"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Notify Mattermost
if: steps.fetch_prs.outputs.OLD_PRS_FOUND == 'true'
uses: greenbone/actions/mattermost-notify@a1883bd24d2d921426b3f06413e84606ecd43bdd # v3.27.11
uses: greenbone/actions/mattermost-notify@v3
with:
url: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
channel: ${{ inputs.channel }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notify-mattermost-qm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
if: ${{ !cancelled() }}
steps:
- name: Notify Mattermost QM
uses: greenbone/actions/mattermost-notify@a1883bd24d2d921426b3f06413e84606ecd43bdd # v3.27.11
uses: greenbone/actions/mattermost-notify@v3
with:
url: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
channel: "pdfeeddeploymentnotification"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-generic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ jobs:
github.event.pull_request.merged == true )
runs-on: 'ubuntu-latest'
steps:
- uses: greenbone/actions/release-type@a1883bd24d2d921426b3f06413e84606ecd43bdd # v3.27.11
- uses: greenbone/actions/release-type@v3
id: release-type
with:
release-type-input: ${{ inputs.release-type }}
- name: Release with release action
uses: greenbone/actions/release@a1883bd24d2d921426b3f06413e84606ecd43bdd # v3.27.11
uses: greenbone/actions/release@v3
with:
git-tag-prefix: ${{ inputs.git-tag-prefix }}
github-user: ${{ secrets.GREENBONE_BOT }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ jobs:
steps:
- name: Setting the reference and release type
id: ref
uses: greenbone/actions/release-type@a1883bd24d2d921426b3f06413e84606ecd43bdd # v3.27.11
uses: greenbone/actions/release-type@v3
with:
release-type-input: ${{ inputs.release-type }}
- name: Release with release action
uses: greenbone/actions/release@a1883bd24d2d921426b3f06413e84606ecd43bdd # v3.27.11
uses: greenbone/actions/release@v3
with:
git-tag-prefix: ${{ inputs.git-tag-prefix }}
github-user: ${{ secrets.GREENBONE_BOT }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install python, poetry and dependencies
uses: greenbone/actions/poetry@a1883bd24d2d921426b3f06413e84606ecd43bdd # v3.27.11
uses: greenbone/actions/poetry@v3
with:
python-version: ${{ inputs.python-version }}
- name: Run unit tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/typing-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Run mypy
uses: greenbone/actions/mypy-python@a1883bd24d2d921426b3f06413e84606ecd43bdd # v3.27.11
uses: greenbone/actions/mypy-python@v3
with:
mypy-arguments: ${{ inputs.mypy-arguments }}
python-version: ${{ inputs.python-version }}

0 comments on commit 2f5d05b

Please sign in to comment.