Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Allows PR detection from ddoghq/datadog-api-spec without granting write access.
issuer: https://token.actions.githubusercontent.com

subject: repo:ddoghq/datadog-api-spec:pull_request

claim_pattern:
base_ref: master
event_name: pull_request
job_workflow_ref: ddoghq/datadog-api-spec/\.github/workflows/ci-cd\.yml@refs/pull/[0-9]+/merge
ref: refs/pull/[0-9]+/merge
repository: ddoghq/datadog-api-spec

permissions:
pull_requests: read
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Allows PR detection from DataDog/datadog-api-spec without granting write access.
issuer: https://token.actions.githubusercontent.com

subject: repo:DataDog/datadog-api-spec:pull_request

claim_pattern:
base_ref: master
event_name: pull_request
job_workflow_ref: DataDog/datadog-api-spec/\.github/workflows/ci-cd\.yml@refs/pull/[0-9]+/merge
ref: refs/pull/[0-9]+/merge
repository: DataDog/datadog-api-spec

permissions:
pull_requests: read
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Allows the generation pipeline in ddoghq/datadog-api-spec to push generated code and create PRs.
issuer: https://token.actions.githubusercontent.com

subject: repo:ddoghq/datadog-api-spec:pull_request

claim_pattern:
base_ref: master
event_name: pull_request
job_workflow_ref: ddoghq/datadog-api-spec/\.github/workflows/ci-cd\.yml@refs/pull/[0-9]+/merge
ref: refs/pull/[0-9]+/merge
repository: ddoghq/datadog-api-spec

permissions:
contents: write
pull_requests: write
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Allows the generation pipeline in DataDog/datadog-api-spec to push generated code and create PRs.
issuer: https://token.actions.githubusercontent.com

subject: repo:DataDog/datadog-api-spec:pull_request

claim_pattern:
base_ref: master
event_name: pull_request
job_workflow_ref: DataDog/datadog-api-spec/\.github/workflows/ci-cd\.yml@refs/pull/[0-9]+/merge
ref: refs/pull/[0-9]+/merge
repository: DataDog/datadog-api-spec

permissions:
contents: write
pull_requests: write
Loading