diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 755459546e..5eb2b275a3 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@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # tag v3.5.0 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 - uses: ruby/setup-ruby@360dc864d5da99d54fcb8e9148c14a84b90d3e88 # tag v1.165.1 with: ruby-version: '3.3' @@ -40,7 +40,7 @@ jobs: steps: - name: Configure git run: 'git config --global init.defaultBranch main' - - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # tag v3.5.0 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 # - 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@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # tag v3.5.0 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 # - 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@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # tag v3.5.0 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 - name: Install Ruby ${{ matrix.ruby-version }} uses: ruby/setup-ruby@360dc864d5da99d54fcb8e9148c14a84b90d3e88 # tag v1.165.1 @@ -336,7 +336,7 @@ jobs: steps: - name: Configure git run: 'git config --global init.defaultBranch main' - - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # tag v3.5.0 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 - uses: ruby/setup-ruby@360dc864d5da99d54fcb8e9148c14a84b90d3e88 # tag v1.165.1 with: ruby-version: '3.1' diff --git a/.github/workflows/ci_cron.yml b/.github/workflows/ci_cron.yml index 70dfa2dbae..db4a3c1096 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@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # tag v3.5.0 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 - uses: ruby/setup-ruby@360dc864d5da99d54fcb8e9148c14a84b90d3e88 # tag v1.165.1 with: ruby-version: '3.2' @@ -41,7 +41,7 @@ jobs: steps: - name: Configure git run: 'git config --global init.defaultBranch main' - - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # tag v3.5.0 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 # - curl is needed for Curb # - xslt is needed for older Nokogiris, RUBY_VERSION < 2.5 @@ -204,7 +204,7 @@ jobs: steps: - name: Configure git run: 'git config --global init.defaultBranch main' - - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # tag v3.5.0 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 # - curl is needed for Curb # - xslt is needed for older Nokogiris, RUBY_VERSION < 2.5 @@ -282,7 +282,7 @@ jobs: steps: - name: Configure git run: 'git config --global init.defaultBranch main' - - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # tag v3.5.0 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 - name: Install Ruby ${{ matrix.ruby-version }} uses: ruby/setup-ruby@360dc864d5da99d54fcb8e9148c14a84b90d3e88 # tag v1.165.1 diff --git a/.github/workflows/ci_jruby.yml b/.github/workflows/ci_jruby.yml index fb657b1bbd..fa35a332b5 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@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # tag v3.5.0 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 - name: Install JRuby uses: ruby/setup-ruby@af848b40be8bb463a751551a1180d74782ba8a72 # tag v1.162.0 @@ -46,7 +46,7 @@ jobs: run: 'git config --global init.defaultBranch main' - name: Check out the source code - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # tag v3.5.0 + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 - name: Install JRuby uses: ruby/setup-ruby@af848b40be8bb463a751551a1180d74782ba8a72 # tag v1.162.0 diff --git a/.github/workflows/config_docs.yml b/.github/workflows/config_docs.yml index b7d849496c..593f5a6beb 100644 --- a/.github/workflows/config_docs.yml +++ b/.github/workflows/config_docs.yml @@ -20,7 +20,7 @@ jobs: ruby-version: 3.2 - name: Checkout code - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # tag v3.5.0 + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 - run: bundle @@ -57,10 +57,10 @@ jobs: if: failure() steps: - name: Checkout agent repository - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # tag v3.5.0 + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 - name: Checkout docs website repository - uses: actions/checkout@v3 + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 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 a5afb937e1..0f4c62e1d4 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@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # tag v3.5.0 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 - 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@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # tag v3.5.0 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 with: ref: 'main' - uses: ruby/setup-ruby@af848b40be8bb463a751551a1180d74782ba8a72 # tag v1.162.0 @@ -38,7 +38,7 @@ jobs: ruby-version: '3.2' - run: bundle - run: bundle exec script/runner -B - - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # tag v3.5.0 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 - 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 bca864a930..a0072c458d 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@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # tag v3.5.0 + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 - 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 f57fb82fe8..2b9ea8ecb6 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -16,7 +16,7 @@ jobs: ruby-version: 3.2 - name: Checkout code - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # tag v3.5.0 + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 - run: bundle diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ebf9555a9b..4917c94b59 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@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # tag v3.5.0 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 with: fetch-depth: 0 diff --git a/.github/workflows/release_notes.yml b/.github/workflows/release_notes.yml index 3c9a9a1559..d9f1797293 100644 --- a/.github/workflows/release_notes.yml +++ b/.github/workflows/release_notes.yml @@ -17,7 +17,7 @@ jobs: with: ruby-version: 3.2 - name: Checkout code - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # tag v3.5.0 + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 - name: Generate release notes and environment variables run: | @@ -57,13 +57,13 @@ jobs: if: failure() steps: - name: Checkout agent repository - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # tag v3.5.0 + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 - 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@v3 + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 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 8ee92d9de1..ebc9504015 100644 --- a/.github/workflows/release_pr.yml +++ b/.github/workflows/release_pr.yml @@ -19,7 +19,7 @@ jobs: ruby-version: 3.2 - name: Checkout code - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # tag v3.5.0 + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 - run: bundle diff --git a/.github/workflows/repolinter.yml b/.github/workflows/repolinter.yml index a7a7b202d0..bdd9b05fb2 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@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # tag v3.5.0 + uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 - 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 6590d9bf62..c36559fab9 100644 --- a/.github/workflows/slack_notifications.yml +++ b/.github/workflows/slack_notifications.yml @@ -11,7 +11,7 @@ jobs: - uses: ruby/setup-ruby@af848b40be8bb463a751551a1180d74782ba8a72 # tag v1.162.0 with: ruby-version: 3.2 - - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # tag v3.5.0 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 - run: gem install httparty - name: Check for outdated gems run: ruby .github/workflows/scripts/slack_notifications/gem_notifier.rb ${{ env.gems }} @@ -48,7 +48,7 @@ jobs: - uses: ruby/setup-ruby@af848b40be8bb463a751551a1180d74782ba8a72 # tag v1.162.0 with: ruby-version: 3.2 - - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # tag v3.5.0 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 - run: gem install httparty - run: gem install feedjira - name: Check for CVEs diff --git a/.github/workflows/snyk.yml b/.github/workflows/snyk.yml index ab1b82ca40..efb3b6c213 100644 --- a/.github/workflows/snyk.yml +++ b/.github/workflows/snyk.yml @@ -12,7 +12,7 @@ jobs: security: runs-on: ubuntu-latest steps: - - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # tag v3.5.0 + - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2 - name: Setup Ruby uses: ruby/setup-ruby@af848b40be8bb463a751551a1180d74782ba8a72 # tag v1.162.0 with: