-
Notifications
You must be signed in to change notification settings - Fork 225
DOCS-543 - Berry widget demo #4946
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
base: main
Are you sure you want to change the base?
Conversation
Thank you for your contribution! As this is an open source project, we require contributors to sign our Contributor License Agreement and do not have yours on file. To proceed with your PR, please sign your name here and we will add you to our approved list of contributors. |
uses: SumoLogic/sumologic-documentation/.github/workflows/build_and_deploy.yml@main | ||
with: | ||
hostname: https://d2t1s0ah22jxsa.cloudfront.net | ||
base_url: /${{ github.ref_name }}/ | ||
environment: review/${{ github.ref_name }} | ||
secrets: | ||
S3_BUCKET_NAME: ${{ secrets.REVIEW_S3_BUCKET_NAME }} | ||
CLOUDFRONT_DISTRIBUTION_ID: ${{ secrets.REVIEW_CLOUDFRONT_DISTRIBUTION_ID }} | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI about 2 months ago
To fix the issue, we will add a permissions
block at the root level of the workflow. This block will define the minimal permissions required for the workflow to function. Based on the provided context, the workflow appears to deploy to a review environment, which likely requires read access to repository contents and possibly write access to deployments. We will start with contents: read
and add other permissions only if necessary.
-
Copy modified lines R5-R7
@@ -4,2 +4,5 @@ | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: |
Purpose of this pull request
This change integrates the Berry widget based on #4748 with the following updates:
Select the type of change
Ticket (if applicable)
https://sumologic.atlassian.net/browse/DOCS-543