-
Notifications
You must be signed in to change notification settings - Fork 0
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
Create scorecard.yml #41
base: master
Are you sure you want to change the base?
Conversation
Create scorecard workflow. Doc-only: true. Signed-off-by: Tomasz Gromadzki <[email protected]>
- cron: '17 9 * * 1' | ||
push: | ||
branches: [ "master" ] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should add pull_request:
here so that issues are found in PRs, not once they have landed to master.
pull_request: | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, however, it does not make big sense as the scorecard dose does not produce yes/no judgement
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC, it does flag errors that are found. You could try introducing one and confirm.
.github/workflows/scorecard.yml
Outdated
branches: [ "master" ] | ||
|
||
# Declare default permissions as read only. | ||
permissions: read-all |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is read permission needed here? The DAOS version of this workflow uses:
permissions: {}
and AFAICT seems to be functioning correctly, but maybe I am missing something.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Doc-only: true Signed-off-by: Tomasz Gromadzki <[email protected]>
Doc-only: true Signed-off-by: Tomasz Gromadzki <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think before we land this, we need to understand how it will operate on a PR if a Scorecard issue is introduced so that we understand the UX our users will face.
Create scorecard workflow.
Doc-only: true.