Skip to content

Commit

Permalink
Merge pull request #46 from newrelic/workflow-migration-node20
Browse files Browse the repository at this point in the history
Migrate workflow to use Node 20
  • Loading branch information
deleonenriqueta committed Apr 5, 2024
2 parents 61f2529 + f67194b commit 32fc5fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/repolinter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 32fc5fd

Please sign in to comment.