Commit 16fa0d6
authored
ci: add dd-octo-sts trust policy for integrations-core days-since-last-pin (#48035)
## Summary
Adds a dd-octo-sts trust policy authorizing `DataDog/integrations-core`'s daily `days-since-last-pin` workflow to read `release.json` from this repo.
Needed for DataDog/integrations-core#22951
## Context
The `days-since-last-pin.yml` workflow in `integrations-core` (Jira: AI-6462) computes how many days it has been since `INTEGRATIONS_CORE_VERSION` was last updated in this repo's `release.json`, and posts a gauge metric to Datadog for CI dashboard alerting (turns red when > 4 days).
## Policy
**File:** `.github/chainguard/integrations-core.github.read-release-json.schedule.sts.yaml`
- **Source:** `DataDog/integrations-core` (scheduled + workflow_dispatch, runs on `master`)
- **Permission:** `contents: read` on this repo (to read `release.json` at historical SHAs and query the commits API)
- Restricted to the exact workflow file and default branch via `claim_pattern`
## Related PR
DataDog/integrations-core#22951
Co-authored-by: david.kirov <david.kirov@datadoghq.com>1 parent 086654b commit 16fa0d6
File tree
1 file changed
+12
-0
lines changed- .github/chainguard
1 file changed
+12
-0
lines changedLines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments