Coder Social home page Coder Social logo

Comments (8)

arthaud avatar arthaud commented on May 6, 2024 1

It looks like this has been fixed on master, so we will need to push a new release.

from pysa-action.

arthaud avatar arthaud commented on May 6, 2024 1

Sorry for the confusion. I have pushed a new version of the fb-sapp pypi package, which is indirectly used by pysa-action. You shouldn't have to change anything on your side.

from pysa-action.

arthaud avatar arthaud commented on May 6, 2024

Could you share a link to a failing job? Thanks.

from pysa-action.

brylie avatar brylie commented on May 6, 2024

Here is one example

https://github.com/WesternFriend/westernfriend.org/actions/runs/7518334979

from pysa-action.

arthaud avatar arthaud commented on May 6, 2024

I have pushed a new version, could you try again?

from pysa-action.

brylie avatar brylie commented on May 6, 2024

I still only see the 0.0.1 release on GitHub. What version should I use in pysa.yml?

https://github.com/facebook/pysa-action/releases

on:
  push:
    branches:
      - main
  pull_request:

name: Pysa

jobs:
  pysa:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2

      - name: Run Pysa Action
        uses: facebook/[email protected]
        with:
          repo-directory: './'
          requirements-path: 'requirements.txt'
          infer-types: true
          include-default-sapp-filters: true

from pysa-action.

brylie avatar brylie commented on May 6, 2024

It appears to run normally now. However, there is a different error about the sarif.json. Is this expected or should we discuss it in a separate issue?

https://github.com/WesternFriend/westernfriend.org/actions/runs/7684163911/job/20940323308

Artifact SARIF Results has been successfully uploaded!
Run github/codeql-action/upload-sarif@v2
Warning: CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
Uploading results
Processing sarif files: ["sarif.json"]
Error: Unexpected end of JSON input
SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at validateSarifFileSchema (/home/runner/work/_actions/github/codeql-action/v2/lib/upload-lib.js:191:24)
at uploadFiles (/home/runner/work/_actions/github/codeql-action/v2/lib/upload-lib.js:261:9)
at Object.uploadFromActions (/home/runner/work/_actions/github/codeql-action/v2/lib/upload-lib.js:141:22)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async run (/home/runner/work/_actions/github/codeql-action/v2/lib/upload-sarif-action.js:53:30)
at async runWrapper (/home/runner/work/_actions/github/codeql-action/v2/lib/upload-sarif-action.js:75:9)

from pysa-action.

arthaud avatar arthaud commented on May 6, 2024

Please open a new issue, so we can track this accordingly :)
Thanks for the report, this is very valuable to us.

from pysa-action.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.