Skip to content

Commit

Permalink
Merge main into v2
Browse files Browse the repository at this point in the history
  • Loading branch information
greenbonebot committed Jun 30, 2023
2 parents 3005dfd + bc34c75 commit 6355e83
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 10 deletions.
6 changes: 3 additions & 3 deletions backport-pull-request/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions download-artifact/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ runs:
# Signing
- name: Sign assets for released version
uses: greenbone/actions/sign-release-files@v2
if: ${{ inputs.sign-release-files == 'true' }} && ${{ inputs.gpg-key }} && ${{ inputs.gpg-fingerprint }} && ${{ inputs.gpg-passphrase }}
if: inputs.sign-release-files == 'true' && inputs.gpg-key && inputs.gpg-fingerprint && inputs.gpg-passphrase
with:
python-version: ${{ inputs.python-version }}
github-token: ${{ inputs.github-user-token }}
Expand Down
18 changes: 18 additions & 0 deletions sign-release-files/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,24 @@ runs:
using: "composite"
steps:
# Setup
- name: Check gpg-key input
if: inputs.gpg-key == ''
run: |
echo "::error ::gpg-key input is missing."
exit 1
shell: bash
- name: Check gpg-fingerprint input
if: inputs.gpg-fingerprint == ''
run: |
echo "::error ::gpg-fingerprint input is missing."
exit 1
shell: bash
- name: Check gpg-passphrase input
if: inputs.gpg-passphrase == ''
run: |
echo "::error ::gpg-passphrase input is missing."
exit 1
shell: bash
- name: Parse release-version if set (overwrite release-type)
if: ${{ inputs.release-version }}
run: |
Expand Down
6 changes: 3 additions & 3 deletions trigger-workflow/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6355e83

Please sign in to comment.