Skip to content

Commit

Permalink
Change: Use our v3 actions in the release action
Browse files Browse the repository at this point in the history
Now we have a v3 version we can use the v3 actions in the release action
too.
  • Loading branch information
bjoernricks committed Jul 13, 2023
1 parent 31fe2ec commit 7d36ccb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,17 +88,17 @@ runs:
- uses: actions/checkout@v3
if: steps.checkout.outputs.exists != 'true'
with:
fetch-depth: 0 #for conventional commits
fetch-depth: 0 # for conventional commits and getting all git tags
persist-credentials: false
ref: ${{ inputs.ref }}
- name: Set git name, mail and origin
uses: greenbone/actions/set-github-user@v2
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@v2
uses: greenbone/actions/setup-pontos@v3
id: virtualenv
with:
python-version: ${{ inputs.python-version }}
Expand Down Expand Up @@ -141,7 +141,7 @@ runs:

# Enable admin bypass
- name: Allow admin users bypassing protection on ${{ inputs.ref}} branch
uses: greenbone/actions/admin-bypass@v2
uses: greenbone/actions/admin-bypass@v3
with:
allow: "true"
github-token: ${{ inputs.github-user-token }}
Expand All @@ -161,15 +161,15 @@ runs:
# Disable admin bypass
- name: Disable bypassing protection on ${{ inputs.ref}} branch for admin users
if: always()
uses: greenbone/actions/admin-bypass@v2
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@v2
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

0 comments on commit 7d36ccb

Please sign in to comment.