From f902c14785fbec8a79860de0b0f12efe0f02b333 Mon Sep 17 00:00:00 2001 From: Hannah Ramadan Date: Mon, 29 Jul 2024 08:59:36 -0700 Subject: [PATCH 01/21] Update actions/checkout --- .github/versions.yml | 4 ++-- .github/workflows/ci.yml | 10 +++++----- .github/workflows/ci_cron.yml | 8 ++++---- .github/workflows/ci_jruby.yml | 4 ++-- .github/workflows/ci_special.yml | 2 +- .github/workflows/config_docs.yml | 6 +++--- .github/workflows/performance_tests.yml | 6 +++--- .github/workflows/pr_closed.yml | 2 +- .github/workflows/prerelease.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/release_notes.yml | 6 +++--- .github/workflows/release_pr.yml | 2 +- .github/workflows/repolinter.yml | 2 +- .github/workflows/slack_notifications.yml | 4 ++-- 14 files changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/versions.yml b/.github/versions.yml index 57decf9bc4..b4d619aa69 100644 --- a/.github/versions.yml +++ b/.github/versions.yml @@ -4,8 +4,8 @@ ruby/setup-ruby: :tag: v1.186.0 :sha: 2a9a743e19810b9f3c38060637daf594dbd7b37f actions/checkout: - :tag: v4.1.2 - :sha: 9bb56186c3b09b4f86b1c65136769dd318469633 + :tag: v4.1.7 + :sha: 692973e3d937129bcbf40652eb9f2f61becf3332 nga333/variable-mapper: :tag: v0.3.0 :sha: 3681b75f5c6c00162721168fb91ab74925eaebcb diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2260625d45..f18bbb6414 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Configure git run: 'git config --global init.defaultBranch main' - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 - uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0 with: ruby-version: '3.3' @@ -40,7 +40,7 @@ jobs: steps: - name: Configure git run: 'git config --global init.defaultBranch main' - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 # - curl is needed for Curb # - xslt is needed for older Nokogiris, RUBY_VERSION < 2.5 @@ -195,7 +195,7 @@ jobs: steps: - name: Configure git run: 'git config --global init.defaultBranch main' - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 # - curl is needed for Curb # - xslt is needed for older Nokogiris, RUBY_VERSION < 2.5 @@ -294,7 +294,7 @@ jobs: steps: - name: Configure git run: 'git config --global init.defaultBranch main' - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 - name: Install Ruby ${{ matrix.ruby-version }} uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0 @@ -336,7 +336,7 @@ jobs: steps: - name: Configure git run: 'git config --global init.defaultBranch main' - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 - uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0 with: ruby-version: '3.3' diff --git a/.github/workflows/ci_cron.yml b/.github/workflows/ci_cron.yml index f098e47082..df91066d25 100644 --- a/.github/workflows/ci_cron.yml +++ b/.github/workflows/ci_cron.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Configure git run: 'git config --global init.defaultBranch main' - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 - uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0 with: ruby-version: '3.3' @@ -41,7 +41,7 @@ jobs: steps: - name: Configure git run: 'git config --global init.defaultBranch main' - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 # - curl is needed for Curb # - xslt is needed for older Nokogiris, RUBY_VERSION < 2.5 @@ -207,7 +207,7 @@ jobs: steps: - name: Configure git run: 'git config --global init.defaultBranch main' - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 # - curl is needed for Curb # - xslt is needed for older Nokogiris, RUBY_VERSION < 2.5 @@ -285,7 +285,7 @@ jobs: steps: - name: Configure git run: 'git config --global init.defaultBranch main' - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 - name: Install Ruby ${{ matrix.ruby-version }} uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0 diff --git a/.github/workflows/ci_jruby.yml b/.github/workflows/ci_jruby.yml index 1d592b4607..0bd59da8d7 100644 --- a/.github/workflows/ci_jruby.yml +++ b/.github/workflows/ci_jruby.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Configure git run: 'git config --global init.defaultBranch main' - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 - name: Install JRuby uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0 @@ -46,7 +46,7 @@ jobs: run: 'git config --global init.defaultBranch main' - name: Check out the source code - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 - name: Install JRuby uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0 diff --git a/.github/workflows/ci_special.yml b/.github/workflows/ci_special.yml index 7a5f61c49f..1a82dffc22 100644 --- a/.github/workflows/ci_special.yml +++ b/.github/workflows/ci_special.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Configure git run: 'git config --global init.defaultBranch main' - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 # - curl is needed for Curb # - xslt is needed for older Nokogiris, RUBY_VERSION < 2.5 diff --git a/.github/workflows/config_docs.yml b/.github/workflows/config_docs.yml index 37d9ecce52..aa59fc71cd 100644 --- a/.github/workflows/config_docs.yml +++ b/.github/workflows/config_docs.yml @@ -20,7 +20,7 @@ jobs: ruby-version: 3.3 - name: Checkout code - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 - run: bundle @@ -57,10 +57,10 @@ jobs: if: failure() steps: - name: Checkout agent repository - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 - name: Checkout docs website repository - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 with: repository: ${{ env.DESTINATION_REPO }} token: ${{ secrets.NEWRELIC_RUBY_AGENT_BOT_TOKEN }} diff --git a/.github/workflows/performance_tests.yml b/.github/workflows/performance_tests.yml index d46f7c6067..c7354ebe02 100644 --- a/.github/workflows/performance_tests.yml +++ b/.github/workflows/performance_tests.yml @@ -14,7 +14,7 @@ jobs: outputs: changed: ${{ steps.branch_change_output.outputs.has-new-commits }} steps: - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 - name: check branch changes id: branch_change_output uses: adriangl/check-new-commits-action@6556947ca20c2047ed733894258186619b84d282 # tag v1.0.6 @@ -30,7 +30,7 @@ jobs: run: working-directory: ./test/performance steps: - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 with: ref: 'main' - uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0 @@ -38,7 +38,7 @@ jobs: ruby-version: '3.3' - run: bundle - run: bundle exec script/runner -B - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 - run: bundle - run: bundle exec script/runner -C -M > performance_results.md - name: Save performance results diff --git a/.github/workflows/pr_closed.yml b/.github/workflows/pr_closed.yml index a0072c458d..4a2679aa52 100644 --- a/.github/workflows/pr_closed.yml +++ b/.github/workflows/pr_closed.yml @@ -12,7 +12,7 @@ jobs: permissions: write-all steps: - name: Clone the repo - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 - name: issue_closer Action uses: ./.github/actions/issue_closer # no tag - locally sourced with: diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index eed97976e5..44a1d59c94 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -16,7 +16,7 @@ jobs: ruby-version: 3.3 - name: Checkout code - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 - run: bundle diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d545e12231..4b2e11b322 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: contents: write repository-projects: write steps: - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 with: fetch-depth: 0 diff --git a/.github/workflows/release_notes.yml b/.github/workflows/release_notes.yml index f2ab5c1b75..01a7861cfd 100644 --- a/.github/workflows/release_notes.yml +++ b/.github/workflows/release_notes.yml @@ -17,7 +17,7 @@ jobs: with: ruby-version: 3.3 - name: Checkout code - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 - name: Generate release notes and environment variables run: | @@ -57,13 +57,13 @@ jobs: if: failure() steps: - name: Checkout agent repository - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 - name: Get branch name run: echo "branch_name=$(ruby -r $PWD/.github/workflows/scripts/generate_release_notes.rb -e GenerateReleaseNotes.new.branch_name)" >> $GITHUB_ENV - name: Checkout docs website repository - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 with: repository: newrelic/docs-website token: ${{ secrets.NEWRELIC_RUBY_AGENT_BOT_TOKEN }} diff --git a/.github/workflows/release_pr.yml b/.github/workflows/release_pr.yml index 75046b3856..302693c427 100644 --- a/.github/workflows/release_pr.yml +++ b/.github/workflows/release_pr.yml @@ -19,7 +19,7 @@ jobs: ruby-version: 3.3 - name: Checkout code - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 - run: bundle diff --git a/.github/workflows/repolinter.yml b/.github/workflows/repolinter.yml index bdd9b05fb2..0352de4445 100644 --- a/.github/workflows/repolinter.yml +++ b/.github/workflows/repolinter.yml @@ -26,7 +26,7 @@ jobs: return data.data && data.data.default_branch === context.ref.split('/').slice(-1)[0] - name: Checkout Self if: ${{ steps.default-branch.outputs.result == 'true' }} - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 - name: Run Repolinter if: ${{ steps.default-branch.outputs.result == 'true' }} uses: newrelic/repolinter-action@3f4448f855c351e9695b24524a4111c7847b84cb # tag v1.7.0 diff --git a/.github/workflows/slack_notifications.yml b/.github/workflows/slack_notifications.yml index ba1a28f672..8795c15e45 100644 --- a/.github/workflows/slack_notifications.yml +++ b/.github/workflows/slack_notifications.yml @@ -11,7 +11,7 @@ jobs: - uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0 with: ruby-version: 3.3 - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 - run: gem install httparty - name: Check for outdated gems run: ruby .github/workflows/scripts/slack_notifications/gem_notifier.rb ${{ env.gems }} @@ -49,7 +49,7 @@ jobs: - uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0 with: ruby-version: 3.3 - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 - run: gem install httparty - run: gem install feedjira - name: Check for CVEs From c5b2721faae9b03e0843a7d99cf8ada7b664c638 Mon Sep 17 00:00:00 2001 From: Hannah Ramadan Date: Mon, 29 Jul 2024 09:11:06 -0700 Subject: [PATCH 02/21] Update actions/upload-artifact --- .github/versions.yml | 3 +++ .github/workflows/ci.yml | 10 +++++----- .github/workflows/performance_tests.yml | 2 +- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/versions.yml b/.github/versions.yml index b4d619aa69..9f1d9aaba9 100644 --- a/.github/versions.yml +++ b/.github/versions.yml @@ -24,3 +24,6 @@ voxmedia/github-action-slack-notify-build: Mercymeilya/last-workflow-status: :tag: v0.3.3 :sha: 3418710aefe8556d73b6f173a0564d38bcfd9a43 +actions/upload-artifact: + :tag: v4.3.4 + :sha: 0b2256b8c012f0828dc542b3febcab082c67f72b diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f18bbb6414..35a0775b27 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -103,7 +103,7 @@ jobs: CI_FOR_PR: true - name: Save coverage results - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # tag v3.1.2 + uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # tag v4.3.4 with: name: coverage-report-unit-tests path: lib/coverage_*/.resultset.json @@ -267,7 +267,7 @@ jobs: uses: ./.github/actions/annotate - name: Save coverage results - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # tag v3.1.2 + uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # tag v4.3.4 with: name: coverage-report-multiverse path: lib/coverage_*/.resultset.json @@ -277,7 +277,7 @@ jobs: run: rake test:multiverse:gem_manifest - name: Save gem manifest - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # tag v3.1.2 + uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # tag v4.3.4 with: name: gem_manifest_${{ matrix.ruby-version }}.json path: gem_manifest_${{ matrix.ruby-version }}.json @@ -321,7 +321,7 @@ jobs: uses: ./.github/actions/annotate - name: Save coverage results - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # tag v3.1.2 + uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # tag v4.3.4 with: name: coverage-report-infinite-tracing path: lib/coverage_*/.resultset.json @@ -346,7 +346,7 @@ jobs: - name: Collate Coverage Results run: bundle exec rake coverage:report - name: Upload coverage results - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # tag v3.1.2 + uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # tag v4.3.4 with: name: coverage-report-combined path: lib/coverage_results diff --git a/.github/workflows/performance_tests.yml b/.github/workflows/performance_tests.yml index c7354ebe02..b1deb5caf9 100644 --- a/.github/workflows/performance_tests.yml +++ b/.github/workflows/performance_tests.yml @@ -42,7 +42,7 @@ jobs: - run: bundle - run: bundle exec script/runner -C -M > performance_results.md - name: Save performance results - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # tag v3.1.2 + uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # tag v4.3.4 with: name: performance-test-results path: ./test/performance/performance_results.md From 140526d6b6051840478aeb7ff9e8dfb44dfe4e20 Mon Sep 17 00:00:00 2001 From: Hannah Ramadan Date: Mon, 29 Jul 2024 09:28:39 -0700 Subject: [PATCH 03/21] Update download/artifact and make upload/artifact names dynamic --- .github/versions.yml | 3 +++ .github/workflows/ci.yml | 18 +++++++++--------- .github/workflows/performance_tests.yml | 4 ++-- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/.github/versions.yml b/.github/versions.yml index 9f1d9aaba9..4a8b39ac19 100644 --- a/.github/versions.yml +++ b/.github/versions.yml @@ -27,3 +27,6 @@ Mercymeilya/last-workflow-status: actions/upload-artifact: :tag: v4.3.4 :sha: 0b2256b8c012f0828dc542b3febcab082c67f72b +actions/upload-artifact: + :tag: v4.1.8 + :sha: fa0a91b85d4f404e444e00e005971372dc801d16 \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 35a0775b27..721fbd4728 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -103,9 +103,9 @@ jobs: CI_FOR_PR: true - name: Save coverage results - uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # tag v4.3.4 + uses: actions/upload-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # tag v4.1.8 with: - name: coverage-report-unit-tests + name: coverage-report-unit-tests-${{ matrix.ruby-version }} path: lib/coverage_*/.resultset.json @@ -267,9 +267,9 @@ jobs: uses: ./.github/actions/annotate - name: Save coverage results - uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # tag v4.3.4 + uses: actions/upload-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # tag v4.1.8 with: - name: coverage-report-multiverse + name: coverage-report-multiverse-${{ matrix.ruby-version }} path: lib/coverage_*/.resultset.json retention-days: 2 @@ -277,7 +277,7 @@ jobs: run: rake test:multiverse:gem_manifest - name: Save gem manifest - uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # tag v4.3.4 + uses: actions/upload-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # tag v4.1.8 with: name: gem_manifest_${{ matrix.ruby-version }}.json path: gem_manifest_${{ matrix.ruby-version }}.json @@ -321,9 +321,9 @@ jobs: uses: ./.github/actions/annotate - name: Save coverage results - uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # tag v4.3.4 + uses: actions/upload-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # tag v4.1.8 with: - name: coverage-report-infinite-tracing + name: coverage-report-infinite-tracing-${{ matrix.ruby-version }} path: lib/coverage_*/.resultset.json @@ -346,9 +346,9 @@ jobs: - name: Collate Coverage Results run: bundle exec rake coverage:report - name: Upload coverage results - uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # tag v4.3.4 + uses: actions/upload-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # tag v4.1.8 with: - name: coverage-report-combined + name: coverage-report-combined-${{ matrix.ruby-version }} path: lib/coverage_results retention-days: 2 - name: Simplecov Report diff --git a/.github/workflows/performance_tests.yml b/.github/workflows/performance_tests.yml index b1deb5caf9..564f68bf31 100644 --- a/.github/workflows/performance_tests.yml +++ b/.github/workflows/performance_tests.yml @@ -42,9 +42,9 @@ jobs: - run: bundle - run: bundle exec script/runner -C -M > performance_results.md - name: Save performance results - uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # tag v4.3.4 + uses: actions/upload-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # tag v4.1.8 with: - name: performance-test-results + name: performance-test-results-${{ matrix.ruby-version }} path: ./test/performance/performance_results.md - name: Slack results uses: adrey/slack-file-upload-action@903be3678c88966c762193f06530c39178b44d68 # tag v1.0.5 From d857a5b1085c09f4d4ad72386ea6491934aaa12a Mon Sep 17 00:00:00 2001 From: Hannah Ramadan Date: Mon, 29 Jul 2024 09:30:41 -0700 Subject: [PATCH 04/21] Correct download/artifcat name --- .github/versions.yml | 2 +- .github/workflows/ci.yml | 12 ++++++------ .github/workflows/performance_tests.yml | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/versions.yml b/.github/versions.yml index 4a8b39ac19..130c621984 100644 --- a/.github/versions.yml +++ b/.github/versions.yml @@ -27,6 +27,6 @@ Mercymeilya/last-workflow-status: actions/upload-artifact: :tag: v4.3.4 :sha: 0b2256b8c012f0828dc542b3febcab082c67f72b -actions/upload-artifact: +actions/download-artifact: :tag: v4.1.8 :sha: fa0a91b85d4f404e444e00e005971372dc801d16 \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 721fbd4728..bc86001944 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -103,7 +103,7 @@ jobs: CI_FOR_PR: true - name: Save coverage results - uses: actions/upload-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # tag v4.1.8 + uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # tag v4.3.4 with: name: coverage-report-unit-tests-${{ matrix.ruby-version }} path: lib/coverage_*/.resultset.json @@ -267,7 +267,7 @@ jobs: uses: ./.github/actions/annotate - name: Save coverage results - uses: actions/upload-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # tag v4.1.8 + uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # tag v4.3.4 with: name: coverage-report-multiverse-${{ matrix.ruby-version }} path: lib/coverage_*/.resultset.json @@ -277,7 +277,7 @@ jobs: run: rake test:multiverse:gem_manifest - name: Save gem manifest - uses: actions/upload-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # tag v4.1.8 + uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # tag v4.3.4 with: name: gem_manifest_${{ matrix.ruby-version }}.json path: gem_manifest_${{ matrix.ruby-version }}.json @@ -321,7 +321,7 @@ jobs: uses: ./.github/actions/annotate - name: Save coverage results - uses: actions/upload-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # tag v4.1.8 + uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # tag v4.3.4 with: name: coverage-report-infinite-tracing-${{ matrix.ruby-version }} path: lib/coverage_*/.resultset.json @@ -342,11 +342,11 @@ jobs: ruby-version: '3.3' - run: bundle - name: Download all workflow run artifacts - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # tag v3.0.2 + uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # tag v4.1.8 - name: Collate Coverage Results run: bundle exec rake coverage:report - name: Upload coverage results - uses: actions/upload-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # tag v4.1.8 + uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # tag v4.3.4 with: name: coverage-report-combined-${{ matrix.ruby-version }} path: lib/coverage_results diff --git a/.github/workflows/performance_tests.yml b/.github/workflows/performance_tests.yml index 564f68bf31..5c27c2ac7b 100644 --- a/.github/workflows/performance_tests.yml +++ b/.github/workflows/performance_tests.yml @@ -42,7 +42,7 @@ jobs: - run: bundle - run: bundle exec script/runner -C -M > performance_results.md - name: Save performance results - uses: actions/upload-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # tag v4.1.8 + uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # tag v4.3.4 with: name: performance-test-results-${{ matrix.ruby-version }} path: ./test/performance/performance_results.md From 2516ae7bf7d4bc0c17b8cfda21338b74b383fc43 Mon Sep 17 00:00:00 2001 From: Hannah Ramadan Date: Mon, 29 Jul 2024 09:41:43 -0700 Subject: [PATCH 05/21] combine coverage report --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc86001944..b9fc07acac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -358,3 +358,14 @@ jobs: resultPath: lib/coverage_results/.last_run.json failedThreshold: 93.5 failedThresholdBranch: 50 + + + merge: + runs-on: ubuntu-latest + needs: upload + steps: + - name: Merge Artifacts + uses: actions/upload-artifact/merge@v4 + with: + name: all-coverage-results + pattern: coverage-report-combined-* From c3134809cae051873ae435dec6150357a950f3ba Mon Sep 17 00:00:00 2001 From: Hannah Ramadan Date: Mon, 29 Jul 2024 09:42:57 -0700 Subject: [PATCH 06/21] Merge after jobs finish --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b9fc07acac..d15498bd42 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -362,7 +362,7 @@ jobs: merge: runs-on: ubuntu-latest - needs: upload + needs: simplecov, unit_tests, multiverse, infinite_tracing steps: - name: Merge Artifacts uses: actions/upload-artifact/merge@v4 From 86d742629e46eb11ac5fb1dfbd4dae9f8e48158b Mon Sep 17 00:00:00 2001 From: Hannah Ramadan Date: Mon, 29 Jul 2024 09:45:03 -0700 Subject: [PATCH 07/21] Fix formatting --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d15498bd42..c94fdf2d70 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -362,7 +362,7 @@ jobs: merge: runs-on: ubuntu-latest - needs: simplecov, unit_tests, multiverse, infinite_tracing + needs: [simplecov, unit_tests, multiverse, infinite_tracing] steps: - name: Merge Artifacts uses: actions/upload-artifact/merge@v4 From a0eaf073557a4d7aa63bc244445599fba7e6b466 Mon Sep 17 00:00:00 2001 From: Hannah Ramadan Date: Mon, 29 Jul 2024 10:00:52 -0700 Subject: [PATCH 08/21] Name specifics --- .github/workflows/ci.yml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c94fdf2d70..b42f7d9863 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -105,7 +105,7 @@ jobs: - name: Save coverage results uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # tag v4.3.4 with: - name: coverage-report-unit-tests-${{ matrix.ruby-version }} + name: coverage-report-unit-tests-${{ matrix.ruby-version }}-${{ env.rails }} path: lib/coverage_*/.resultset.json @@ -269,7 +269,7 @@ jobs: - name: Save coverage results uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # tag v4.3.4 with: - name: coverage-report-multiverse-${{ matrix.ruby-version }} + name: coverage-report-multiverse-${{ matrix.ruby-version }}-${{ matrix.multiverse }} path: lib/coverage_*/.resultset.json retention-days: 2 @@ -323,7 +323,7 @@ jobs: - name: Save coverage results uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # tag v4.3.4 with: - name: coverage-report-infinite-tracing-${{ matrix.ruby-version }} + name: coverage-report-infinite-tracing-${{ matrix.ruby-version }}-infinite_tracing path: lib/coverage_*/.resultset.json @@ -358,14 +358,3 @@ jobs: resultPath: lib/coverage_results/.last_run.json failedThreshold: 93.5 failedThresholdBranch: 50 - - - merge: - runs-on: ubuntu-latest - needs: [simplecov, unit_tests, multiverse, infinite_tracing] - steps: - - name: Merge Artifacts - uses: actions/upload-artifact/merge@v4 - with: - name: all-coverage-results - pattern: coverage-report-combined-* From e91ebab8a2e9f4790c22a9c12cad8b44791bbd7f Mon Sep 17 00:00:00 2001 From: Hannah Ramadan Date: Mon, 29 Jul 2024 13:47:33 -0700 Subject: [PATCH 09/21] Dynamic gem manifest names --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b42f7d9863..030435a0c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -279,8 +279,8 @@ jobs: - name: Save gem manifest uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # tag v4.3.4 with: - name: gem_manifest_${{ matrix.ruby-version }}.json - path: gem_manifest_${{ matrix.ruby-version }}.json + name: gem_manifest_${{ matrix.ruby-version }}_${{ matrix.multiverse }}.json + path: gem_manifest_${{ matrix.ruby-version }}_${{ matrix.multiverse }}.json retention-days: 2 From 3b5a9ce466d36b3183a820dbd7e7d90381c9e797 Mon Sep 17 00:00:00 2001 From: Hannah Ramadan Date: Mon, 29 Jul 2024 13:55:45 -0700 Subject: [PATCH 10/21] Update actions/cache --- .github/versions.yml | 5 ++++- .github/workflows/ci.yml | 4 ++-- .github/workflows/ci_cron.yml | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/versions.yml b/.github/versions.yml index 130c621984..48cf0c8fe5 100644 --- a/.github/versions.yml +++ b/.github/versions.yml @@ -29,4 +29,7 @@ actions/upload-artifact: :sha: 0b2256b8c012f0828dc542b3febcab082c67f72b actions/download-artifact: :tag: v4.1.8 - :sha: fa0a91b85d4f404e444e00e005971372dc801d16 \ No newline at end of file + :sha: fa0a91b85d4f404e444e00e005971372dc801d16 +actions/cache: + :tag: v4.0.2 + :sha: 0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 030435a0c7..ada351dac1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,7 +74,7 @@ jobs: - if: matrix.ruby-version == '2.4.10' name: Cache mysql55 id: mysql55-cache - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # tag v3.3.1 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # tag v4.0.2 with: path: /usr/local/mysql55 key: mysql55-install @@ -216,7 +216,7 @@ jobs: - if: matrix.ruby-version == '2.4.10' name: Cache mysql55 id: mysql55-cache - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # tag v3.3.1 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # tag v4.0.2 with: path: /usr/local/mysql55 key: mysql55-install diff --git a/.github/workflows/ci_cron.yml b/.github/workflows/ci_cron.yml index df91066d25..4e29a076f6 100644 --- a/.github/workflows/ci_cron.yml +++ b/.github/workflows/ci_cron.yml @@ -96,7 +96,7 @@ jobs: - if: matrix.ruby-version == '2.4.10' || matrix.ruby-version == '2.5.9' || matrix.ruby-version == '2.6.10' name: Cache mysql55 id: mysql55-cache - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # tag v3.3.1 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # tag v4.0.2 with: path: /usr/local/mysql55 key: mysql55-install @@ -227,7 +227,7 @@ jobs: - if: matrix.ruby-version == '2.4.10' name: Cache mysql55 id: mysql55-cache - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # tag v3.3.1 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # tag v4.0.2 with: path: /usr/local/mysql55 key: mysql55-install From a571cda1e34a297bfb62a6803c9b8e27ef3726ed Mon Sep 17 00:00:00 2001 From: Hannah Ramadan Date: Mon, 29 Jul 2024 14:03:07 -0700 Subject: [PATCH 11/21] Update actions/github-script --- .github/versions.yml | 5 ++++- .github/workflows/label_community_cards.yml | 2 +- .github/workflows/repolinter.yml | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/versions.yml b/.github/versions.yml index 48cf0c8fe5..578a5a4e02 100644 --- a/.github/versions.yml +++ b/.github/versions.yml @@ -32,4 +32,7 @@ actions/download-artifact: :sha: fa0a91b85d4f404e444e00e005971372dc801d16 actions/cache: :tag: v4.0.2 - :sha: 0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 \ No newline at end of file + :sha: 0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 +actions/github-script: + :tag: v7.0.1 + :sha: 60a0d83039c74a4aee543508d2ffcb1c3799cdea diff --git a/.github/workflows/label_community_cards.yml b/.github/workflows/label_community_cards.yml index 17cbe847ed..f696662b0e 100644 --- a/.github/workflows/label_community_cards.yml +++ b/.github/workflows/label_community_cards.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Label community issue - uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # tag v6.4.1 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # tag v7.0.1 with: script: | github.rest.issues.addLabels({ diff --git a/.github/workflows/repolinter.yml b/.github/workflows/repolinter.yml index 0352de4445..df5298833e 100644 --- a/.github/workflows/repolinter.yml +++ b/.github/workflows/repolinter.yml @@ -19,7 +19,7 @@ jobs: steps: - name: Test Default Branch id: default-branch - uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # tag v6.4.1 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # tag v7.0.1 with: script: | const data = await github.rest.repos.get(context.repo) From badb33684fecad5dae2b8ea4c305dc9267baa3b0 Mon Sep 17 00:00:00 2001 From: Hannah Ramadan Date: Mon, 29 Jul 2024 14:43:24 -0700 Subject: [PATCH 12/21] Update adriangl/check-new-commits-action --- .github/versions.yml | 5 ++++- .github/workflows/performance_tests.yml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/versions.yml b/.github/versions.yml index 578a5a4e02..103595d0cd 100644 --- a/.github/versions.yml +++ b/.github/versions.yml @@ -6,7 +6,7 @@ ruby/setup-ruby: actions/checkout: :tag: v4.1.7 :sha: 692973e3d937129bcbf40652eb9f2f61becf3332 -nga333/variable-mapper: +kanga333/variable-mapper: :tag: v0.3.0 :sha: 3681b75f5c6c00162721168fb91ab74925eaebcb actions/cache: @@ -36,3 +36,6 @@ actions/cache: actions/github-script: :tag: v7.0.1 :sha: 60a0d83039c74a4aee543508d2ffcb1c3799cdea +adriangl/check-new-commits-action: + :tag: v1.0.7 + :sha: e6471f4fda990ebdb3bf44726371e1ad45ac4d37 diff --git a/.github/workflows/performance_tests.yml b/.github/workflows/performance_tests.yml index 5c27c2ac7b..6e676e789c 100644 --- a/.github/workflows/performance_tests.yml +++ b/.github/workflows/performance_tests.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 - name: check branch changes id: branch_change_output - uses: adriangl/check-new-commits-action@6556947ca20c2047ed733894258186619b84d282 # tag v1.0.6 + uses: adriangl/check-new-commits-action@e6471f4fda990ebdb3bf44726371e1ad45ac4d37 # tag v1.0.7 with: seconds: 604800 branch: 'dev' From e76fb9062f41d946cb5e7c4ead016e3fb86dfecf Mon Sep 17 00:00:00 2001 From: Hannah Ramadan Date: Mon, 29 Jul 2024 15:08:28 -0700 Subject: [PATCH 13/21] softprops/action-gh-release --- .github/versions.yml | 3 +++ .github/workflows/prerelease.yml | 2 +- .github/workflows/release.yml | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/versions.yml b/.github/versions.yml index 103595d0cd..faad8870da 100644 --- a/.github/versions.yml +++ b/.github/versions.yml @@ -39,3 +39,6 @@ actions/github-script: adriangl/check-new-commits-action: :tag: v1.0.7 :sha: e6471f4fda990ebdb3bf44726371e1ad45ac4d37 +softprops/action-gh-release: + :tag: v2.0.8 + :sha: c062e08bd532815e2082a85e87e3ef29c3e6d191 diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 44a1d59c94..e9e810a0e0 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -45,7 +45,7 @@ jobs: LABEL: prerelease - name: Create pre release tag - uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # tag v0.1.15 + uses: softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191 # tag v2.0.8 with: tag_name: ${{ env.prerelease_tag }} name: ${{ env.prerelease_tag }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4b2e11b322..94b9cc2c6a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,7 +42,7 @@ jobs: echo "VERSION=$(ls newrelic_rpm-*.gem | ruby -pe 'sub(/newrelic_rpm\-(.*).gem/, "\\1")')" >> $GITHUB_ENV - name: Create github release - uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # tag v0.1.15 + uses: softprops/action-gh-release@c062e08bd532815e2082a85e87e3ef29c3e6d191 # tag v2.0.8 if: $(git tag -l ${{ env.VERSION }}) == false with: tag_name: ${{ env.VERSION }} From a7d9b0b613a5f353bb7fb3c58a8d36e957017082 Mon Sep 17 00:00:00 2001 From: Hannah Ramadan Date: Mon, 29 Jul 2024 15:17:53 -0700 Subject: [PATCH 14/21] Update kanga333/variable-mapper --- .github/versions.yml | 5 ++++- .github/workflows/ci.yml | 2 +- .github/workflows/ci_cron.yml | 6 +++--- .github/workflows/ci_special.yml | 4 ++-- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/versions.yml b/.github/versions.yml index faad8870da..dd23d614ae 100644 --- a/.github/versions.yml +++ b/.github/versions.yml @@ -8,7 +8,7 @@ actions/checkout: :sha: 692973e3d937129bcbf40652eb9f2f61becf3332 kanga333/variable-mapper: :tag: v0.3.0 - :sha: 3681b75f5c6c00162721168fb91ab74925eaebcb + :sha: c140b458cb69bd8c9c5eccd41e83aadc597c1352 # This commit is not on the main branch. It uses Node.js 20, which is needed to stop deprecation warnings. actions/cache: :tag: v3.3.1 :sha: 88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 @@ -42,3 +42,6 @@ adriangl/check-new-commits-action: softprops/action-gh-release: :tag: v2.0.8 :sha: c062e08bd532815e2082a85e87e3ef29c3e6d191 +technote-space/workflow-conclusion-action: + :tag: v2.0.8 + :sha: c062e08bd532815e2082a85e87e3ef29c3e6d191 \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ada351dac1..26e2d6f4a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,7 +54,7 @@ jobs: ruby-version: ${{ matrix.ruby-version }} - name: Set up mini-envs for ruby version - uses: kanga333/variable-mapper@3681b75f5c6c00162721168fb91ab74925eaebcb # tag v0.3.0 + uses: kanga333/variable-mapper@c140b458cb69bd8c9c5eccd41e83aadc597c1352 # tag v0.3.0 with: key: ${{ matrix.ruby-version }} map: | diff --git a/.github/workflows/ci_cron.yml b/.github/workflows/ci_cron.yml index 4e29a076f6..1c7e5a70f8 100644 --- a/.github/workflows/ci_cron.yml +++ b/.github/workflows/ci_cron.yml @@ -55,7 +55,7 @@ jobs: ruby-version: ${{ matrix.ruby-version }} - name: Set up mini-envs for ruby version - uses: kanga333/variable-mapper@3681b75f5c6c00162721168fb91ab74925eaebcb # tag v0.3.0 + uses: kanga333/variable-mapper@c140b458cb69bd8c9c5eccd41e83aadc597c1352 # tag v0.3.0 with: key: ${{ matrix.ruby-version }} map: | @@ -316,7 +316,7 @@ jobs: runs-on: ubuntu-22.04 if: always() steps: - - uses: technote-space/workflow-conclusion-action@45ce8e0eb155657ab8ccf346ade734257fd196a5 # tag v3.0.3 + - uses: technote-space/workflow-conclusion-action@c062e08bd532815e2082a85e87e3ef29c3e6d191 # tag v2.0.8 - uses: voxmedia/github-action-slack-notify-build@3665186a8c1a022b28a1dbe0954e73aa9081ea9e # tag v1.6.0 if: ${{ env.WORKFLOW_CONCLUSION == 'failure' && github.event_name != 'workflow_dispatch' }} env: @@ -333,7 +333,7 @@ jobs: runs-on: ubuntu-22.04 if: always() steps: - - uses: technote-space/workflow-conclusion-action@45ce8e0eb155657ab8ccf346ade734257fd196a5 # tag v3.0.3 + - uses: technote-space/workflow-conclusion-action@c062e08bd532815e2082a85e87e3ef29c3e6d191 # tag v2.0.8 - run: echo ${{ github.event_name }} - uses: Mercymeilya/last-workflow-status@3418710aefe8556d73b6f173a0564d38bcfd9a43 # tag v0.3.3 id: last_status diff --git a/.github/workflows/ci_special.yml b/.github/workflows/ci_special.yml index 1a82dffc22..ff7ae97e1b 100644 --- a/.github/workflows/ci_special.yml +++ b/.github/workflows/ci_special.yml @@ -47,7 +47,7 @@ jobs: runs-on: ubuntu-22.04 if: always() steps: - - uses: technote-space/workflow-conclusion-action@45ce8e0eb155657ab8ccf346ade734257fd196a5 # tag v3.0.3 + - uses: technote-space/workflow-conclusion-action@c062e08bd532815e2082a85e87e3ef29c3e6d191 # tag v2.0.8 - uses: voxmedia/github-action-slack-notify-build@3665186a8c1a022b28a1dbe0954e73aa9081ea9e # tag v1.6.0 if: ${{ env.WORKFLOW_CONCLUSION == 'failure' && github.event_name != 'workflow_dispatch' }} env: @@ -64,7 +64,7 @@ jobs: runs-on: ubuntu-22.04 if: always() steps: - - uses: technote-space/workflow-conclusion-action@45ce8e0eb155657ab8ccf346ade734257fd196a5 # tag v3.0.3 + - uses: technote-space/workflow-conclusion-action@c062e08bd532815e2082a85e87e3ef29c3e6d191 # tag v2.0.8 - run: echo ${{ github.event_name }} - uses: Mercymeilya/last-workflow-status@3418710aefe8556d73b6f173a0564d38bcfd9a43 # tag v0.3.3 id: last_status From df047ac5f3ddb2de5bf3f909d3772f507f8b8a26 Mon Sep 17 00:00:00 2001 From: Hannah Ramadan Date: Mon, 29 Jul 2024 15:32:03 -0700 Subject: [PATCH 15/21] Use node20 for issue closer --- .github/actions/issue_closer/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/issue_closer/action.yml b/.github/actions/issue_closer/action.yml index 4f5b86d1d8..f7298cf244 100644 --- a/.github/actions/issue_closer/action.yml +++ b/.github/actions/issue_closer/action.yml @@ -5,5 +5,5 @@ inputs: description: 'A GitHub token with PR read and Issue close permissions' required: true runs: - using: 'node16' + using: 'node20' main: 'dist/index.js' From b870524ba321b017b3e1ee311075c8414d7c32a7 Mon Sep 17 00:00:00 2001 From: Hannah Ramadan Date: Mon, 29 Jul 2024 15:34:14 -0700 Subject: [PATCH 16/21] Use node22 for simplecov --- .github/actions/issue_closer/action.yml | 2 +- .github/actions/simplecov-report/action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/issue_closer/action.yml b/.github/actions/issue_closer/action.yml index f7298cf244..4b8f9f9194 100644 --- a/.github/actions/issue_closer/action.yml +++ b/.github/actions/issue_closer/action.yml @@ -5,5 +5,5 @@ inputs: description: 'A GitHub token with PR read and Issue close permissions' required: true runs: - using: 'node20' + using: 'node22' main: 'dist/index.js' diff --git a/.github/actions/simplecov-report/action.yml b/.github/actions/simplecov-report/action.yml index e44b794a7c..25ae7c8c75 100644 --- a/.github/actions/simplecov-report/action.yml +++ b/.github/actions/simplecov-report/action.yml @@ -21,5 +21,5 @@ inputs: description: "GitHub token" required: true runs: - using: "node16" + using: "node22" main: "dist/index.js" From 712658a6b38640959cd1ef4fb67a6198c6d35036 Mon Sep 17 00:00:00 2001 From: Hannah Ramadan Date: Mon, 29 Jul 2024 16:23:44 -0700 Subject: [PATCH 17/21] technote-space/workflow-conclusion-action --- .github/versions.yml | 4 ++-- .github/workflows/ci_cron.yml | 4 ++-- .github/workflows/ci_special.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/versions.yml b/.github/versions.yml index dd23d614ae..d386fa9cd0 100644 --- a/.github/versions.yml +++ b/.github/versions.yml @@ -43,5 +43,5 @@ softprops/action-gh-release: :tag: v2.0.8 :sha: c062e08bd532815e2082a85e87e3ef29c3e6d191 technote-space/workflow-conclusion-action: - :tag: v2.0.8 - :sha: c062e08bd532815e2082a85e87e3ef29c3e6d191 \ No newline at end of file + :tag: v3.0.3 + :sha: 45ce8e0eb155657ab8ccf346ade734257fd196a5 \ No newline at end of file diff --git a/.github/workflows/ci_cron.yml b/.github/workflows/ci_cron.yml index 1c7e5a70f8..9e68a1b220 100644 --- a/.github/workflows/ci_cron.yml +++ b/.github/workflows/ci_cron.yml @@ -316,7 +316,7 @@ jobs: runs-on: ubuntu-22.04 if: always() steps: - - uses: technote-space/workflow-conclusion-action@c062e08bd532815e2082a85e87e3ef29c3e6d191 # tag v2.0.8 + - uses: technote-space/workflow-conclusion-action@45ce8e0eb155657ab8ccf346ade734257fd196a5 # tag v3.0.3 - uses: voxmedia/github-action-slack-notify-build@3665186a8c1a022b28a1dbe0954e73aa9081ea9e # tag v1.6.0 if: ${{ env.WORKFLOW_CONCLUSION == 'failure' && github.event_name != 'workflow_dispatch' }} env: @@ -333,7 +333,7 @@ jobs: runs-on: ubuntu-22.04 if: always() steps: - - uses: technote-space/workflow-conclusion-action@c062e08bd532815e2082a85e87e3ef29c3e6d191 # tag v2.0.8 + - uses: technote-space/workflow-conclusion-action@45ce8e0eb155657ab8ccf346ade734257fd196a5 # tag v3.0.3 - run: echo ${{ github.event_name }} - uses: Mercymeilya/last-workflow-status@3418710aefe8556d73b6f173a0564d38bcfd9a43 # tag v0.3.3 id: last_status diff --git a/.github/workflows/ci_special.yml b/.github/workflows/ci_special.yml index ff7ae97e1b..1a82dffc22 100644 --- a/.github/workflows/ci_special.yml +++ b/.github/workflows/ci_special.yml @@ -47,7 +47,7 @@ jobs: runs-on: ubuntu-22.04 if: always() steps: - - uses: technote-space/workflow-conclusion-action@c062e08bd532815e2082a85e87e3ef29c3e6d191 # tag v2.0.8 + - uses: technote-space/workflow-conclusion-action@45ce8e0eb155657ab8ccf346ade734257fd196a5 # tag v3.0.3 - uses: voxmedia/github-action-slack-notify-build@3665186a8c1a022b28a1dbe0954e73aa9081ea9e # tag v1.6.0 if: ${{ env.WORKFLOW_CONCLUSION == 'failure' && github.event_name != 'workflow_dispatch' }} env: @@ -64,7 +64,7 @@ jobs: runs-on: ubuntu-22.04 if: always() steps: - - uses: technote-space/workflow-conclusion-action@c062e08bd532815e2082a85e87e3ef29c3e6d191 # tag v2.0.8 + - uses: technote-space/workflow-conclusion-action@45ce8e0eb155657ab8ccf346ade734257fd196a5 # tag v3.0.3 - run: echo ${{ github.event_name }} - uses: Mercymeilya/last-workflow-status@3418710aefe8556d73b6f173a0564d38bcfd9a43 # tag v0.3.3 id: last_status From 75bf4b9bccc5522d9e028d155a1b287701926913 Mon Sep 17 00:00:00 2001 From: Hannah Ramadan Date: Mon, 29 Jul 2024 16:46:40 -0700 Subject: [PATCH 18/21] SimpleCov use node 20 --- .github/actions/simplecov-report/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/simplecov-report/action.yml b/.github/actions/simplecov-report/action.yml index 25ae7c8c75..c990bb9791 100644 --- a/.github/actions/simplecov-report/action.yml +++ b/.github/actions/simplecov-report/action.yml @@ -21,5 +21,5 @@ inputs: description: "GitHub token" required: true runs: - using: "node22" + using: "node20" main: "dist/index.js" From 60739b7b70cca0830af0140b4450ab13bd66b3e8 Mon Sep 17 00:00:00 2001 From: Hannah Ramadan Date: Tue, 30 Jul 2024 08:57:03 -0700 Subject: [PATCH 19/21] Use Node.js 20 --- .github/actions/issue_closer/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/issue_closer/action.yml b/.github/actions/issue_closer/action.yml index 4b8f9f9194..f7298cf244 100644 --- a/.github/actions/issue_closer/action.yml +++ b/.github/actions/issue_closer/action.yml @@ -5,5 +5,5 @@ inputs: description: 'A GitHub token with PR read and Issue close permissions' required: true runs: - using: 'node22' + using: 'node20' main: 'dist/index.js' From 2ce0cead983e376d097d0d478942557a93ff9cfa Mon Sep 17 00:00:00 2001 From: Hannah Ramadan Date: Tue, 30 Jul 2024 08:58:19 -0700 Subject: [PATCH 20/21] Remove technote-space/workflow-conclusion-action --- .github/versions.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/versions.yml b/.github/versions.yml index d386fa9cd0..4ac06d1c65 100644 --- a/.github/versions.yml +++ b/.github/versions.yml @@ -42,6 +42,3 @@ adriangl/check-new-commits-action: softprops/action-gh-release: :tag: v2.0.8 :sha: c062e08bd532815e2082a85e87e3ef29c3e6d191 -technote-space/workflow-conclusion-action: - :tag: v3.0.3 - :sha: 45ce8e0eb155657ab8ccf346ade734257fd196a5 \ No newline at end of file From 235cbeb0e9a3eb7e21b2730331e90844edc916e9 Mon Sep 17 00:00:00 2001 From: Hannah Ramadan Date: Fri, 2 Aug 2024 09:07:47 -0700 Subject: [PATCH 21/21] undo kanga --- .github/versions.yml | 2 +- .github/workflows/ci.yml | 6 +++--- .github/workflows/ci_cron.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/versions.yml b/.github/versions.yml index a5abf3d083..710d7b62c0 100644 --- a/.github/versions.yml +++ b/.github/versions.yml @@ -8,7 +8,7 @@ actions/checkout: :sha: 692973e3d937129bcbf40652eb9f2f61becf3332 kanga333/variable-mapper: :tag: v0.3.0 - :sha: c140b458cb69bd8c9c5eccd41e83aadc597c1352 # This commit is not on the main branch. It uses Node.js 20, which is needed to stop deprecation warnings. + :sha: 3681b75f5c6c00162721168fb91ab74925eaebcb actions/cache: :tag: v3.3.1 :sha: 88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f9e8906f4..6bf548c484 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Configure git run: 'git config --global init.defaultBranch main' - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 - uses: ruby/setup-ruby@a6e6f86333f0a2523ece813039b8b4be04560854 # tag v1.190.0 with: ruby-version: '3.3' @@ -54,7 +54,7 @@ jobs: ruby-version: ${{ matrix.ruby-version }} - name: Set up mini-envs for ruby version - uses: kanga333/variable-mapper@c140b458cb69bd8c9c5eccd41e83aadc597c1352 # tag v0.3.0 + uses: kanga333/variable-mapper@3681b75f5c6c00162721168fb91ab74925eaebcb # tag v0.3.0 with: key: ${{ matrix.ruby-version }} map: | @@ -336,7 +336,7 @@ jobs: steps: - name: Configure git run: 'git config --global init.defaultBranch main' - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 - uses: ruby/setup-ruby@a6e6f86333f0a2523ece813039b8b4be04560854 # tag v1.190.0 with: ruby-version: '3.3' diff --git a/.github/workflows/ci_cron.yml b/.github/workflows/ci_cron.yml index b7a73e5129..528359dead 100644 --- a/.github/workflows/ci_cron.yml +++ b/.github/workflows/ci_cron.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Configure git run: 'git config --global init.defaultBranch main' - - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # tag v4.1.7 - uses: ruby/setup-ruby@a6e6f86333f0a2523ece813039b8b4be04560854 # tag v1.190.0 with: ruby-version: '3.3' @@ -55,7 +55,7 @@ jobs: ruby-version: ${{ matrix.ruby-version }} - name: Set up mini-envs for ruby version - uses: kanga333/variable-mapper@c140b458cb69bd8c9c5eccd41e83aadc597c1352 # tag v0.3.0 + uses: kanga333/variable-mapper@3681b75f5c6c00162721168fb91ab74925eaebcb # tag v0.3.0 with: key: ${{ matrix.ruby-version }} map: |