Skip to content

Commit 5f49b0a

Browse files
committed
feat: GET network policy based on GITHUB_REPOSITORY and
GITHUB_REPOSITORY_ID
1 parent de8da4e commit 5f49b0a

File tree

2 files changed

+91
-56
lines changed

2 files changed

+91
-56
lines changed

apispec/api.gen.go

Lines changed: 81 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apispec/api.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,20 @@ paths:
8989
current project. You can optionally specify a GitHub workflow reference
9090
using the `github_workflow_ref` query parameter.
9191
parameters:
92-
- name: github_workflow_ref
92+
- name: github_repository
93+
in: query
94+
description: The owner and repository name. For example, octocat/Hello-World.
95+
required: true
96+
schema:
97+
type: string
98+
example: octocat/Hello-World
99+
- name: github_repository_id
93100
in: query
94-
description: >
95-
The reference of the GitHub workflow associated with this request.
96-
Used to retrieve network policies specific to a workflow.
101+
description: The GitHub repository ID.
97102
required: true
98103
schema:
99104
type: string
100-
example: example_workflow_ref
105+
example: "123456789"
101106
security:
102107
- JWT:
103108
- project_id

0 commit comments

Comments
 (0)