Skip to content

Revert code-ql-action/upload-sarif #3517

Closed

Description

@jsjoeio

Revert #3459

We have a short term workaround thanks to @adityasharad

Short term workaround: please try removing the TAR file /release-images/code-server-amd64-3.10.2.tar (and others like it) from the workspace before running the upload step.

UPDATE: a PR has been merged github/codeql-action#550

So we should be able to re-enable without using the workaround.

Activity

  1. added this to the 3.11.0 milestone on Jun 1, 2021
  2. self-assigned this
    on Jun 1, 2021
  3. changed the title [-]Remove TAR files in /release-images and revert code-ql-action/upload-sarif[/-] [+]Revert code-ql-action/upload-sarif[/+] on Jun 7, 2021
  4. edoardopirovano commented on Jun 7, 2021

    @edoardopirovano

    Note that my PR has been merged in the main branch of the CodeQL action while your workflow is using @v1. So, it will be a little bit longer before the fix reaches you (we usually release to v1 every week or two).

  5. jsjoeio commented on Jun 7, 2021

    @jsjoeio
    ContributorAuthor

    Ah...good to know. Thanks for pointing that out @edoardopirovano 👍🏼

  6. jsjoeio commented on Jun 22, 2021

    @jsjoeio
    ContributorAuthor

    Looks like there is a new release out, so I think this is fine to upgrade: https://github.com/github/codeql-action/releases/tag/codeql-bundle-20210622

  7. edoardopirovano commented on Jun 23, 2021

    @edoardopirovano

    Looks like there is a new release out, so I think this is fine to upgrade: https://github.com/github/codeql-action/releases/tag/codeql-bundle-20210622

    Almost! The CodeQL Action that your workflow is running still hasn't been bumped to use the latest version, that should happen once this PR is merged later today:

    github/codeql-action#585

    Once that's merged you should be all good to go ahead with this 🙂

  8. jsjoeio commented on Jun 23, 2021

    @jsjoeio
    ContributorAuthor

    Ahh... Got it. Guess the release notification was a false alarm!

    Thanks for the heads-up and linking the PR 😄

  9. modified the milestones: 3.11.0, On Deck on Jul 7, 2021
  10. jsjoeio commented on Jul 7, 2021

    @jsjoeio
    ContributorAuthor

    The GitHub Action side is fixed but now it seems like there's an issue on the trivy side (see aquasecurity/trivy#1080).

    I looked into reverting this in #3727 but it seems like it's more work than it's worth at this time. I will revisit later (hoping that the upstream trivy issue is fixed).

    If this gets revisited, and the upstream issue isn't fixed, we can look into uploading the Docker image per PR to the GitHub Container Registry. Some resources:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ciIssues related to cisecuritySecurity related

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions