fix(debugger): initialize lastCaptureNs to ensure first probe hit is captured #1002
Workflow file for this run
This file contains hidden or 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: 'Dependabot Automation' | |
| on: | |
| pull_request_target: | |
| types: | |
| - opened | |
| env: | |
| GROUPS: '["dev-minor-and-patch-dependencies", "gh-actions-packages", "test-versions"]' | |
| jobs: | |
| dependabot: | |
| if: github.event.pull_request.user.login == 'dependabot[bot]' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write | |
| steps: | |
| - uses: DataDog/dd-octo-sts-action@acaa02eee7e3bb0839e4272dacb37b8f3b58ba80 # v1.0.3 | |
| id: octo-sts | |
| with: | |
| scope: DataDog/dd-trace-js | |
| policy: dependabot-automation | |
| - name: Dependabot metadata | |
| id: metadata | |
| uses: dependabot/fetch-metadata@08eff52bf64351f401fb50d4972fa95b9f2c2d1b # 2.4.0 | |
| with: | |
| github-token: "${{ steps.octo-sts.outputs.token }}" | |
| - name: Enable auto-merge for Dependabot PRs | |
| if: contains(fromJSON(env.GROUPS), steps.metadata.outputs.dependency-group) | |
| run: gh pr merge --auto --squash "$PR_URL" | |
| env: | |
| PR_URL: ${{ github.event.pull_request.html_url }} | |
| GH_TOKEN: ${{ steps.octo-sts.outputs.token }} | |
| - name: Approve a PR | |
| if: contains(fromJSON(env.GROUPS), steps.metadata.outputs.dependency-group) | |
| run: gh pr review --approve "$PR_URL" | |
| env: | |
| PR_URL: ${{ github.event.pull_request.html_url }} | |
| GH_TOKEN: ${{ steps.octo-sts.outputs.token }} |