From d0410853f602c4db931abf2d5155b436b0ae4c73 Mon Sep 17 00:00:00 2001 From: Enriqueta De Leon Date: Fri, 5 Apr 2024 09:23:20 -0700 Subject: [PATCH] Update actions to use Node 20 --- .github/workflows/repolinter.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/repolinter.yml b/.github/workflows/repolinter.yml index 6c41af7..eaa3e96 100644 --- a/.github/workflows/repolinter.yml +++ b/.github/workflows/repolinter.yml @@ -15,14 +15,14 @@ jobs: steps: - name: Test Default Branch id: default-branch - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | const data = await github.rest.repos.get(context.repo) 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@v3 + uses: actions/checkout@v4 - name: Run Repolinter if: ${{ steps.default-branch.outputs.result == 'true' }} uses: newrelic/repolinter-action@v1