Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Devel/disallow forks #1814

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from
2 changes: 2 additions & 0 deletions .github/workflows/integration_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ jobs:
charmcraft-channel: latest/edge
test-tox-env: charm-integration-test
trivy-image-config: "trivy.yaml"
tmate-debug: true
tmate-timeout: 60
7 changes: 7 additions & 0 deletions charm/charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ config:
generate the subsequent one-time token authentication.
type: string
required: true
disallow_fork_pull_request:
description: >-
Disable forked repository access to job runs.
This is used to protect private-endpoint runners for security purposes. Blocks all pull
request runs from a forked repository.
type: boolean
default: false
github_token:
description: >-
The token to use for comms with GitHub. This can be a PAT or a fine-grained token
Expand Down
Loading
Loading