We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed74190 commit e32f4ecCopy full SHA for e32f4ec
.github/workflows/repolinter.yml
@@ -15,14 +15,14 @@ jobs:
15
steps:
16
- name: Test Default Branch
17
id: default-branch
18
- uses: actions/github-script@v2
+ uses: actions/github-script@v6
19
with:
20
script: |
21
- const data = await github.repos.get(context.repo)
+ const data = await github.rest.repos.get(context.repo)
22
return data.data && data.data.default_branch === context.ref.split('/').slice(-1)[0]
23
- name: Checkout Self
24
if: ${{ steps.default-branch.outputs.result == 'true' }}
25
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
26
- name: Run Repolinter
27
28
uses: newrelic/repolinter-action@v1
0 commit comments