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

Update workflow templates to the latest versions #2120

Open
ashishkurmi opened this issue May 10, 2023 · 1 comment
Open

Update workflow templates to the latest versions #2120

ashishkurmi opened this issue May 10, 2023 · 1 comment

Comments

@ashishkurmi
Copy link
Member

Our workflow templates are using old action versions, we should update them to use the latest version instead:
https://github.com/step-security/secure-repo/blob/main/workflow-templates/scorecards.yml#L39 should be updated to v2.1.3
https://github.com/step-security/secure-repo/blob/main/workflow-templates/dependency-review.yml#LL22C15-L22C47 should be updated to v3.0.4

We should also explore the possibility of automatically using the latest version when a PR is created to deploy our workflow templates.

@juhoinkinen
Copy link

With the current version of dependency-review (i.e. v2) given by this tool (using it via https://app.stepsecurity.io/securerepo) does not work but gives an uninformative error message:

Run actions/dependency-review-action@0efb1d1d84fc9633afcdaad14c485cbbc90ef46c
  with:
    repo-token: ***
    fail-on-severity: low
    fail-on-scopes: runtime
Error: Forbidden

See this run for example.

This issue is about the unclear message, and a fix for it has been already merged some time ago. With the latest version of dependency-review-action (v4.2.5) the error message is:

Error: Dependency review is not supported on this repository. Please ensure that Dependency graph is enabled along with GitHub Advanced Security on private repositories, see https://github.com/juhoinkinen/Annif/settings/security_analysis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants