From a7b571e877b83f78de8d4b33eb72ae9aea40b295 Mon Sep 17 00:00:00 2001 From: Himani1519 Date: Thu, 5 Oct 2023 13:49:38 +0530 Subject: [PATCH] some fixes Signed-off-by: Himani1519 --- .github/workflows/build-core.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/build-core.yml b/.github/workflows/build-core.yml index 3455556..31392f7 100644 --- a/.github/workflows/build-core.yml +++ b/.github/workflows/build-core.yml @@ -67,7 +67,6 @@ jobs: echo "ERROR: CHANGELOG.md has not been updated." echo "::set-output name=check_commit::false" fi - - name: Compare PR description with template if: steps.check-changelog.outputs.check_commit == 'false' id: compare-with-template @@ -90,7 +89,6 @@ jobs: else echo "PR description and template are different." fi - - name: Extract changelog info if: steps.check-changelog.outputs.check_commit == 'false' id: extract-changelog @@ -124,7 +122,6 @@ jobs: ESCAPED_CHANGELOG="${{ steps.extract-changelog.outputs.changelog }}" ESCAPED_CHANGELOG=$(echo "$ESCAPED_CHANGELOG" | sed "s/'/\\\\'/g") VERSION="${{ steps.extract-changelog.outputs.version }}" - if ! grep -Fq "$ESCAPED_CHANGELOG" CHANGELOG.md; then # Check if version exists in CHANGELOG.md if grep -q "^## $VERSION" CHANGELOG.md; then @@ -151,7 +148,6 @@ jobs: else echo "::set-output name=change_detected::true" fi - check_changelog: if: github.event_name == 'pull_request' needs: update-changelog @@ -168,7 +164,6 @@ jobs: else echo "changelog was updated successfully." fi - build: runs-on: ubuntu-latest needs: check-permission @@ -184,7 +179,6 @@ jobs: key: ${{ runner.os }}-build-cache-node-modules-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ runner.os }}-build-cache-node-modules- - - name: '[Prep 2] Setup Node' uses: actions/setup-node@v2 with: @@ -222,5 +216,4 @@ jobs: pax-name: zlux-core - name: '[Prep 7] deploy' - uses: zowe-actions/zlux-builds/core/deploy@v2.x/main - + uses: zowe-actions/zlux-builds/core/deploy@v2.x/main \ No newline at end of file