diff --git a/.github/workflows/shared-publish-java-to-docker-versioned.yaml b/.github/workflows/shared-publish-java-to-docker-versioned.yaml index 5fe5a97a..b0f71c0d 100644 --- a/.github/workflows/shared-publish-java-to-docker-versioned.yaml +++ b/.github/workflows/shared-publish-java-to-docker-versioned.yaml @@ -228,7 +228,7 @@ jobs: - name: Create Release if: ${{ steps.checkRelease.outputs.is_release == 'true' }} - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: name: ${{ steps.version.outputs.new_version }} body: ${{ steps.github_release.outputs.changelog }} diff --git a/.github/workflows/shared-publish-to-docker-versioned.yaml b/.github/workflows/shared-publish-to-docker-versioned.yaml index 6b02291c..db6b26b0 100644 --- a/.github/workflows/shared-publish-to-docker-versioned.yaml +++ b/.github/workflows/shared-publish-to-docker-versioned.yaml @@ -17,7 +17,7 @@ on: publish_vulnerabilities: description: If true, will attempt to publish any vulnerabilities to GitHub. Defaults to true. Set to false for private repos. type: string - default: true + default: 'true' force_release: description: If 'yes', will force the creation a release, if 'no' will not create a release. 'branch' will use release_type and the branch to determine if a release should be created. type: string diff --git a/.github/workflows/shared-publish-to-maven-versioned.yaml b/.github/workflows/shared-publish-to-maven-versioned.yaml index 909e291d..c49e8905 100644 --- a/.github/workflows/shared-publish-to-maven-versioned.yaml +++ b/.github/workflows/shared-publish-to-maven-versioned.yaml @@ -131,7 +131,7 @@ jobs: - name: Create Release if: ${{ env.IS_RELEASE == 'true' }} - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: name: v${{ steps.version.outputs.new_version }} body: ${{ steps.github_release.outputs.changelog }} diff --git a/.github/workflows/shared-publish-to-nuget-versioned.yaml b/.github/workflows/shared-publish-to-nuget-versioned.yaml index fa1f0667..4a6d0395 100644 --- a/.github/workflows/shared-publish-to-nuget-versioned.yaml +++ b/.github/workflows/shared-publish-to-nuget-versioned.yaml @@ -109,7 +109,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Create Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: name: v${{ steps.version.outputs.new_version }} body: ${{ steps.github_release.outputs.changelog }} diff --git a/.github/workflows/shared-publish-to-pypi-versioned.yaml b/.github/workflows/shared-publish-to-pypi-versioned.yaml index 1fc1cbb2..18bf203d 100644 --- a/.github/workflows/shared-publish-to-pypi-versioned.yaml +++ b/.github/workflows/shared-publish-to-pypi-versioned.yaml @@ -104,7 +104,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Create Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: name: v${{ steps.version.outputs.new_version }} body: ${{ steps.github_release.outputs.changelog }} diff --git a/actions/shared_create_releases/action.yaml b/actions/shared_create_releases/action.yaml index d186267e..ed52c461 100644 --- a/actions/shared_create_releases/action.yaml +++ b/actions/shared_create_releases/action.yaml @@ -4,7 +4,7 @@ description: Create releases and build changelogs inputs: is_release: description: True if a release should be created - default: false + default: 'false' new_version: description: The new version number to be incremented to required: true @@ -58,7 +58,7 @@ runs: - name: Create Docker Release if: ${{ inputs.is_release == 'true' && inputs.publish_platform == 'Docker' }} - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: name: v${{ inputs.new_version }} body: ${{ steps.github_release_docker.outputs.changelog }} @@ -66,7 +66,7 @@ runs: - name: Create Maven Release if: ${{ inputs.is_release == 'true' && inputs.publish_platform == 'Maven'}} - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: name: v${{ inputs.new_version }} body: ${{ steps.github_release_maven.outputs.changelog }} diff --git a/actions/shared_publish_to_docker/action.yaml b/actions/shared_publish_to_docker/action.yaml index 2632e3fe..5561c45f 100644 --- a/actions/shared_publish_to_docker/action.yaml +++ b/actions/shared_publish_to_docker/action.yaml @@ -19,20 +19,16 @@ inputs: default: '' publish_vulnerabilities: description: If true, will attempt to publish any vulnerabilities to GitHub. Defaults to true. Set to false for private repos. - type: string - default: true + default: 'true' docker_image_name: description: The docker image name required: true - type: string docker_registry: description: The docker registry required: true - type: string docker_context: description: The docker context default: . - type: string scan_type: description: The scan-type for aquasecurity/trivy-action action. Default to a fs scan. default: fs diff --git a/actions/start_azure_private_operator/action.yaml b/actions/start_azure_private_operator/action.yaml index d11e5999..c78eaa9b 100644 --- a/actions/start_azure_private_operator/action.yaml +++ b/actions/start_azure_private_operator/action.yaml @@ -31,7 +31,7 @@ runs: steps: - name: Log in to Azure - uses: azure/login@v1 + uses: azure/login@v2 with: creds: ${{ inputs.azure_credentials }} enable-AzPSSession: true