Code Monkey home page Code Monkey logo

gh-action-spdx-sbom-generator's People

Contributors

niravpatel27 avatar

Watchers

 avatar  avatar

gh-action-spdx-sbom-generator's Issues

Running the example fails.

When running the example (with same version 0.0.9) on a create-react-app application, it will fail.

Also with latest version 0.0.19 it fails.

Source

https://github.com/JeroenKnoops/test-spdx-action/blob/spdx-sbom-generator/.github/workflows/spdx-sbom-generator.yaml

# SPDX-License-Identifier: Apache-2.0

name: SPDX-SBOM-GENERATOR

on:
  push:
  workflow_dispatch:

jobs:
  generate:
    name: Generate sbom file
    runs-on: ubuntu-latest
    steps:
      - name: Checkout the repository
        uses: actions/checkout@v2
      - name: gh-action-spdx-sbom-generator
        uses: niravpatel27/[email protected]
        with:
            version: '0.0.9'   
      - name: Check if sbom file generated
        run: |
          if [ ! -f "bom-go-mod.spdx" ]; then
            echo "::error::bom-go-mod.spdx is missing. Must generate using the spdx-sbom-generator cli."
            exit 1
          else
             echo "Success!"            
          fi  

Workflow error

https://github.com/JeroenKnoops/test-spdx-action/pull/2/checks?check_run_id=3931752860

Screenshot 2021-10-18 at 21 51 18

Unable to resolve Action

Thank you for putting together this GitHub Action.

Apparently, it cannot access/resolve the GitHub Action per the error

Failed to resolve action download info. Error: Unable to resolve action `niravpatel27/gh-action-spdx-sbom-generator@v1`, unable to find version `v1`
Retrying in 26.028 seconds
Failed to resolve action download info. Error: Unable to resolve action `niravpatel27/gh-action-spdx-sbom-generator@v1`, unable to find version `v1`
Retrying in 21.282 seconds
Error: Unable to resolve action `niravpatel27/gh-action-spdx-sbom-generator@v1`, unable to find version `v1`

This is how I was invoking the action

  spdx-sbom:
    name: SPDX/spdx-sbom
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Repository
        uses: actions/checkout@v2
      - name: Generate SBOM(spdx-sbom)
        uses: niravpatel27/gh-action-spdx-sbom-generator@v1
        with:
          version: '0.0.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.