From b937e23281c2f51576e8d02df4081f48b71af753 Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Mon, 6 Mar 2023 16:13:14 -0500 Subject: [PATCH] [ACA-4649] GitHub Actions workflow fixes (#3039) * use commit message only where needed * remove merge checks * remove merge checks --- .github/actions/adf-linking/action.yml | 1 + .github/actions/before-install/action.yml | 1 - .github/actions/setup/action.yml | 1 - .github/workflows/release.yml | 6 +----- 4 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/actions/adf-linking/action.yml b/.github/actions/adf-linking/action.yml index aa32d4c3e..5262dc58a 100644 --- a/.github/actions/adf-linking/action.yml +++ b/.github/actions/adf-linking/action.yml @@ -4,6 +4,7 @@ description: "ADF linking" runs: using: "composite" steps: + - uses: Alfresco/alfresco-build-tools/.github/actions/get-commit-message@v1.35.0 - name: clone and install shell: bash run: | diff --git a/.github/actions/before-install/action.yml b/.github/actions/before-install/action.yml index 5c4cc5fa0..7c9ac25a4 100644 --- a/.github/actions/before-install/action.yml +++ b/.github/actions/before-install/action.yml @@ -14,7 +14,6 @@ inputs: runs: using: "composite" steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/get-commit-message@v1.35.0 - uses: ./.github/actions/setup - name: setup S3 caching shell: bash diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 93a08f8ba..0caf6260c 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -4,7 +4,6 @@ description: "Variables setup" runs: using: "composite" steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/get-commit-message@v1.35.0 - name: setup variables shell: bash run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d5386a4b4..3ccaf8d9d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,8 +40,7 @@ env: jobs: publish-docker-registry: - if: github.event.pull_request.merged || inputs.dry-run-release - name: "Publish to registry" + name: "Publish to Quay" runs-on: ubuntu-latest steps: - name: Checkout @@ -64,7 +63,6 @@ jobs: dry-run: ${{ inputs.dry-run-release }} publish-to-dockerhub: - if: github.event.pull_request.merged || inputs.dry-run-release name: "Publish to Dockerhub" runs-on: ubuntu-latest steps: @@ -88,7 +86,6 @@ jobs: dry-run: ${{ inputs.dry-run-release }} publish-git-tag: - if: (github.event.pull_request.merged && github.ref_name == 'master') || inputs.dry-run-release name: "Publish git tag" runs-on: ubuntu-latest steps: @@ -115,7 +112,6 @@ jobs: dry-run: ${{ inputs.dry-run-release }} publish-libs: - if: (github.event.pull_request.merged && github.ref_name == 'master') || inputs.dry-run-release name: "Publish libs to npm and gh registry" runs-on: ubuntu-latest steps: