Skip to content

Commit

Permalink
Merge pull request newrelic#122 from bizob2828/update-deprecated-actions
Browse files Browse the repository at this point in the history
update actions that are using deprecated node 12
  • Loading branch information
bizob2828 authored Oct 27, 2022
2 parents 6330b73 + be95223 commit 054e741
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 deletions.
6 changes: 6 additions & 0 deletions lib/instrumentation/koa/.github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
blank_issues_enabled: false
contact_links:
- name: Troubleshooting
url: https://github.com/newrelic/node-newrelic-koa/blob/main/README.md#support
about: Check out the README for troubleshooting directions

This file was deleted.

12 changes: 6 additions & 6 deletions lib/instrumentation/koa/.github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
node-version: [lts/*]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
Expand All @@ -29,9 +29,9 @@ jobs:
node-version: [14.x, 16.x, 18.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
Expand All @@ -47,9 +47,9 @@ jobs:
node-version: [14.x, 16.x, 18.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
Expand Down
6 changes: 3 additions & 3 deletions lib/instrumentation/koa/.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@v2
uses: actions/github-script@v6
with:
script: |
const data = await github.repos.get(context.repo)
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@v2
uses: actions/checkout@v3
- name: Run Repolinter
if: ${{ steps.default-branch.outputs.result == 'true' }}
uses: newrelic/repolinter-action@v1
Expand Down

0 comments on commit 054e741

Please sign in to comment.