Skip to content

Commit c3a0b7b

Browse files
authored
Octo STS policy for Python patch upgrades (#44728)
### What does this PR do? Creates an Octo STS policy for the Python patch version upgrade automation previously merged. ### Motivation ### Describe how you validated your changes ### Additional Notes Co-authored-by: kyle.neale <kyle.neale@datadoghq.com>
1 parent b4be6ec commit c3a0b7b

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
issuer: https://token.actions.githubusercontent.com
3+
4+
subject: repo:DataDog/datadog-agent:environment:main
5+
6+
claim_pattern:
7+
event_name: workflow_dispatch|schedule
8+
ref: refs/heads/main
9+
ref_protected: "true"
10+
job_workflow_ref: DataDog/datadog-agent/\.github/workflows/upgrade-python-patch-version\.yml@refs/heads/main
11+
12+
permissions:
13+
contents: write
14+
pull_requests: write
15+
members: read
16+

.github/workflows/upgrade-python-patch-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
id: octo-sts
2222
with:
2323
scope: DataDog/datadog-agent
24-
policy: self.update-dependencies.create-pr
24+
policy: self.upgrade-python-version.create-pr
2525
- name: Checkout
2626
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2727
with:

0 commit comments

Comments
 (0)