Giter Club home page Giter Club logo

codeql-bundle-action's People

Contributors

dependabot[bot] avatar rvermeulen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

codeql-bundle-action's Issues

Actions fail when used as a dependency in other repositories

If you copy & paste the example "Build custom bundle" action from the readme into a new repository, the following error occurs:

Run advanced-security/codeql-bundle-action/download-bundle@v2
Run download-bundle/download-bundle.sh
/home/runner/work/_temp/xxxxxxxxx.sh: line 1: download-bundle/download-bundle.sh: No such file or directory
Error: Process completed with exit code 127.

Bundle Custom Location

Right now the Action pulls from the github/codeql-action repository. It would be great to be able to point to an external CodeQL bundle created by the community so that if a user wants to build on another bundle, you could specify it.

Solution

The values in the bundle.ts should come from the action.yml (default value is github/codeql-action).

- name: CodeQL bundle
    id: codeql-bundle
    uses: advanced-security/codeql-bundle-action@main
    with:
        packs: "geekmasher/python"
        bundle: advanced-security/codeql-queries
        # or a link?
        bundle: https://s3.amazonaws.com/<bucket>/<object>

This also helps if users store a version on CodeQL Bundle already in GitHub Packages, S3 bucket, Artifactory, etc.

Suggestions for other solutions are welcome too.

Support separated bundles for each target platform

The bundle action currently customizes the multi-platform bundle. This ensures the customized bundle is compatible with all supported platforms, but does mean the customized bundle is larger than necessary.

We should add an option to fetch and generate platform specific bundles, so that we can minimize the deployment size.

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.