From 7bf6bf70c0f034aa390f7beaae6d06051fa99d09 Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Mon, 8 Apr 2024 14:21:12 +0200 Subject: [PATCH 1/2] ci: update of files from global .github repo (#1347) --- .github/workflows/if-nodejs-pr-testing.yml | 9 ++------- .github/workflows/if-nodejs-release.yml | 23 +++------------------- 2 files changed, 5 insertions(+), 27 deletions(-) diff --git a/.github/workflows/if-nodejs-pr-testing.yml b/.github/workflows/if-nodejs-pr-testing.yml index 6b3af753492..73a2af5c296 100644 --- a/.github/workflows/if-nodejs-pr-testing.yml +++ b/.github/workflows/if-nodejs-pr-testing.yml @@ -41,7 +41,7 @@ jobs: git config --global core.eol lf - if: steps.should_run.outputs.shouldrun == 'true' name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v3 - if: steps.should_run.outputs.shouldrun == 'true' name: Check if Node.js project and has package.json id: packagejson @@ -53,7 +53,7 @@ jobs: id: lockversion - if: steps.packagejson.outputs.exists == 'true' name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v3 with: node-version: "${{ steps.lockversion.outputs.version }}" cache: 'npm' @@ -65,14 +65,9 @@ jobs: continue-on-error: true - if: steps.first-installation.outcome != 'success' && steps.packagejson.outputs.exists == 'true' name: Clear NPM cache and install deps again - id: second-installation run: | npm cache clean --force npm ci - continue-on-error: true - - if: steps.second-installation.outcome != 'success' && steps.packagejson.outputs.exists == 'true' - name: Install without cache - run: npm ci --no-cache - if: steps.packagejson.outputs.exists == 'true' name: Test run: npm test --if-present diff --git a/.github/workflows/if-nodejs-release.yml b/.github/workflows/if-nodejs-release.yml index 5efc924c17f..f407e59ae3d 100644 --- a/.github/workflows/if-nodejs-release.yml +++ b/.github/workflows/if-nodejs-release.yml @@ -39,7 +39,7 @@ jobs: git config --global core.autocrlf false git config --global core.eol lf - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: Check if Node.js project and has package.json id: packagejson run: test -e ./package.json && echo "exists=true" >> $GITHUB_OUTPUT || echo "exists=false" >> $GITHUB_OUTPUT @@ -50,26 +50,14 @@ jobs: id: lockversion - if: steps.packagejson.outputs.exists == 'true' name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v3 with: node-version: "${{ steps.lockversion.outputs.version }}" cache: 'npm' cache-dependency-path: '**/package-lock.json' - if: steps.packagejson.outputs.exists == 'true' name: Install dependencies - id: first-installation - run: npm ci - continue-on-error: true - - if: steps.first-installation.outcome != 'success' && steps.packagejson.outputs.exists == 'true' - name: Clear NPM cache and install deps again - id: second-installation - run: | - npm cache clean --force - npm ci - continue-on-error: true - - if: steps.second-installation.outcome != 'success' && steps.packagejson.outputs.exists == 'true' - name: Install without cache - run: npm ci --no-cache + run: npm install - if: steps.packagejson.outputs.exists == 'true' name: Run test run: npm test --if-present @@ -116,14 +104,9 @@ jobs: continue-on-error: true - if: steps.first-installation.outcome != 'success' && steps.packagejson.outputs.exists == 'true' name: Clear NPM cache and install deps again - id: second-installation run: | npm cache clean --force npm ci - continue-on-error: true - - if: steps.second-installation.outcome != 'success' && steps.packagejson.outputs.exists == 'true' - name: Install without cache - run: npm ci --no-cache - if: steps.packagejson.outputs.exists == 'true' name: Add plugin for conventional commits for semantic-release run: npm install --save-dev conventional-changelog-conventionalcommits@5.0.0 From 4382886c35189f45713e5dbc7c50348a3458ac55 Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Mon, 8 Apr 2024 14:30:43 +0200 Subject: [PATCH 2/2] ci: update of files from global .github repo (#1348) --- .github/workflows/help-command.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/help-command.yml b/.github/workflows/help-command.yml index ada81682e20..55353bb89e2 100644 --- a/.github/workflows/help-command.yml +++ b/.github/workflows/help-command.yml @@ -31,7 +31,7 @@ jobs: At the moment the following comments are supported in pull requests: - - \`/please-take-a-look` or \`/ptal\` - This comment will add a comment to the PR asking for attention from the reviewrs who have not reviewed the PR yet. + - \`/please-take-a-look\` or \`/ptal\` - This comment will add a comment to the PR asking for attention from the reviewrs who have not reviewed the PR yet. - \`/ready-to-merge\` or \`/rtm\` - This comment will trigger automerge of PR in case all required checks are green, approvals in place and do-not-merge label is not added - \`/do-not-merge\` or \`/dnm\` - This comment will block automerging even if all conditions are met and ready-to-merge label is added - \`/autoupdate\` or \`/au\` - This comment will add \`autoupdate\` label to the PR and keeps your PR up-to-date to the target branch's future changes. Unless there is a merge conflict or it is a draft PR.`