diff --git a/lib/instrumentation/koa/.github/ISSUE_TEMPLATE/config.yml b/lib/instrumentation/koa/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000000..d3a0345872 --- /dev/null +++ b/lib/instrumentation/koa/.github/ISSUE_TEMPLATE/config.yml @@ -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 + diff --git a/lib/instrumentation/koa/.github/ISSUE_TEMPLATE/troubleshooting.md b/lib/instrumentation/koa/.github/ISSUE_TEMPLATE/troubleshooting.md deleted file mode 100644 index cda0ab49fe..0000000000 --- a/lib/instrumentation/koa/.github/ISSUE_TEMPLATE/troubleshooting.md +++ /dev/null @@ -1,5 +0,0 @@ - - -We use GitHub to track feature requests and bug reports. Please **do not** submit issues for questions about how to configure, use features, troubleshoot, or best practices for using New Relic software. - -See the README.md support section in this repository for more details on self-service troubleshooting tooling, links to our comprehensive documentation, and how to get further support. diff --git a/lib/instrumentation/koa/.github/workflows/ci-workflow.yml b/lib/instrumentation/koa/.github/workflows/ci-workflow.yml index c3cd5c35cf..c16217cbce 100644 --- a/lib/instrumentation/koa/.github/workflows/ci-workflow.yml +++ b/lib/instrumentation/koa/.github/workflows/ci-workflow.yml @@ -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 @@ -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 @@ -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 diff --git a/lib/instrumentation/koa/.github/workflows/repolinter.yml b/lib/instrumentation/koa/.github/workflows/repolinter.yml index acb921f30f..6c41af75d2 100644 --- a/lib/instrumentation/koa/.github/workflows/repolinter.yml +++ b/lib/instrumentation/koa/.github/workflows/repolinter.yml @@ -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