Skip to content

[Bug-fix] dependabot jobs failing from wrong claim#7173

Merged
d-niu merged 1 commit intomasterfrom
dependabot-bugfix
Jan 5, 2026
Merged

[Bug-fix] dependabot jobs failing from wrong claim#7173
d-niu merged 1 commit intomasterfrom
dependabot-bugfix

Conversation

@d-niu
Copy link
Copy Markdown
Contributor

@d-niu d-niu commented Jan 5, 2026

Dependabot workflows have been failing since 12-11-2025 (the last change to this file) due to

Attempt 1 failed. Error: HTTP error! status: 403, {"code":7,"message":"trust policy: claim \"job_workflow_ref\" did not match \"^DataDog/dd-trace-js/.github/workflows/dependabot-automation.yml@refs/heads/master$\"","details":[]}

The JWT in the error logs have claim: "job_workflow_ref": "DataDog/dd-trace-js/.github/workflows/dependabot-automation.yml@refs/pull/{number}/merge", while the policy only accepts "^DataDog/dd-trace-js/.github/workflows/dependabot-automation.yml@refs/heads/master$".

What does this PR do?

Motivation

Plugin Checklist

Additional Notes

Dependabot workflows have been failing since 12-11-2025 (the last change to this file) due to 
```
Attempt 1 failed. Error: HTTP error! status: 403, {"code":7,"message":"trust policy: claim \"job_workflow_ref\" did not match \"^DataDog/dd-trace-js/.github/workflows/dependabot-automation.yml@refs/heads/master$\"","details":[]}
```
The JWT in the error logs have claim: "job_workflow_ref": "DataDog/dd-trace-js/.github/workflows/dependabot-automation.yml@refs/pull/{number}/merge", while the [policy](https://github.com/DataDog/dd-trace-js/edit/master/.github/chainguard/dependabot-automation.sts.yaml) only accepts "^DataDog/dd-trace-js/.github/workflows/dependabot-automation.yml@refs/heads/master$\".
@d-niu d-niu requested a review from a team as a code owner January 5, 2026 16:31
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 5, 2026

Overall package size

Self size: 4.39 MB
Deduped: 5.21 MB
No deduping: 5.21 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 2.0.0 | 68.46 kB | 797.03 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |

🤖 This report was automatically generated by heaviest-objects-in-the-universe

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.49%. Comparing base (39fb819) to head (1e9d5a4).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #7173   +/-   ##
=======================================
  Coverage   84.49%   84.49%           
=======================================
  Files         524      524           
  Lines       22463    22463           
=======================================
  Hits        18981    18981           
  Misses       3482     3482           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@d-niu d-niu enabled auto-merge (squash) January 5, 2026 16:37
@datadog-official

This comment has been minimized.

@pr-commenter
Copy link
Copy Markdown

pr-commenter Bot commented Jan 5, 2026

Benchmarks

Benchmark execution time: 2026-01-05 16:43:13

Comparing candidate commit 1e9d5a4 in PR branch dependabot-bugfix with baseline commit 39fb819 in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 291 metrics, 29 unstable metrics.

@d-niu d-niu merged commit ae76856 into master Jan 5, 2026
796 of 797 checks passed
@d-niu d-niu deleted the dependabot-bugfix branch January 5, 2026 16:48
@dd-octo-sts dd-octo-sts Bot mentioned this pull request Jan 12, 2026
dd-octo-sts Bot pushed a commit that referenced this pull request Jan 12, 2026
Dependabot workflows have been failing since 12-11-2025 (the last change to this file) due to 
```
Attempt 1 failed. Error: HTTP error! status: 403, {"code":7,"message":"trust policy: claim \"job_workflow_ref\" did not match \"^DataDog/dd-trace-js/.github/workflows/dependabot-automation.yml@refs/heads/master$\"","details":[]}
```
The JWT in the error logs have claim: "job_workflow_ref": "DataDog/dd-trace-js/.github/workflows/dependabot-automation.yml@refs/pull/{number}/merge", while the [policy](https://github.com/DataDog/dd-trace-js/edit/master/.github/chainguard/dependabot-automation.sts.yaml) only accepts "^DataDog/dd-trace-js/.github/workflows/dependabot-automation.yml@refs/heads/master$\".
nina9753 pushed a commit that referenced this pull request Jan 15, 2026
Dependabot workflows have been failing since 12-11-2025 (the last change to this file) due to 
```
Attempt 1 failed. Error: HTTP error! status: 403, {"code":7,"message":"trust policy: claim \"job_workflow_ref\" did not match \"^DataDog/dd-trace-js/.github/workflows/dependabot-automation.yml@refs/heads/master$\"","details":[]}
```
The JWT in the error logs have claim: "job_workflow_ref": "DataDog/dd-trace-js/.github/workflows/dependabot-automation.yml@refs/pull/{number}/merge", while the [policy](https://github.com/DataDog/dd-trace-js/edit/master/.github/chainguard/dependabot-automation.sts.yaml) only accepts "^DataDog/dd-trace-js/.github/workflows/dependabot-automation.yml@refs/heads/master$\".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants