Delegate first class spans to native SDK when attached #1880
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Compare PR stats | |
on: [pull_request] | |
concurrency: | |
# only allow one run of this workflow per branch, otherwise the comment could | |
# be overwritten by an earlier commit that runs slower than the latest commit | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
base-branch: | |
uses: ./.github/workflows/record-pr-stats.yml | |
with: | |
ref: ${{ github.event.pull_request.base.sha }} | |
head-branch: | |
uses: ./.github/workflows/record-pr-stats.yml | |
with: | |
ref: ${{ github.sha }} | |
compare-pr-stats: | |
runs-on: ubuntu-latest | |
needs: [base-branch, head-branch] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'npm' | |
- run: npm ci | |
- name: Leave comment | |
uses: actions/github-script@v6 | |
with: | |
script: | | |
const leaveComment = require('./.github/leave-pr-stats-comment.js') | |
await leaveComment(github, context, require, ${{ toJSON(needs) }}) |