-
Notifications
You must be signed in to change notification settings - Fork 112
[CLIENT-3467] CI/CD: Publish artifacts to JFrog using release bundles #826
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
Draft
juliannguyen4
wants to merge
5
commits into
dev
Choose a base branch
from
CLIENT-3467-cicd-use-jfrog-release-bundles
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 4 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
ebed4ca
wip
juliannguyen4 b3cf0ed
Merge remote-tracking branch 'origin/dev' into CLIENT-3467-cicd-use-j…
juliannguyen4 da9f480
get jfrog project name dynamically from env var
juliannguyen4 ff0960e
example was wrong?
juliannguyen4 cab272e
do basic plumbing
juliannguyen4 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Copilot Autofix
AI 3 months ago
To fix the problem, add a
permissionskey to the root level of the workflow file (.github/workflows/dev-workflow-p2.yml). This key should set the least necessary privileges required for the workflow to function. At a minimum, setcontents: read, and add more granular permissions only if a job requires them (such aspull-requests: writeif you manage PRs, orissues: writeif you open/modify issues). Since most jobs reuse other workflows and interact mostly with artifacts, no write permissions are obviously required forcontents, so start with justcontents: read. If upon workflow usage additional permissions errors arise, add the minimum necessary permissions for each required type.Edit
.github/workflows/dev-workflow-p2.ymland insert apermissionsblock at the top level, directly after thename:field and beforeon:. For now, only setcontents: read.