Sha256: ceb43d69512a90711185f53c1bed44fd3428a32326ca554ad57527d338d7386a

Contents?: true

Size: 1.15 KB

Versions: 7

Compression:

Stored size: 1.15 KB

Contents

name: Security
on:
  workflow_dispatch:
  push:
    branches:
      - main

jobs:
  scan:
    name: Mend Scanning
    runs-on: ubuntu-latest
    steps:
    - name: checkout repo content
      uses: actions/checkout@v3
      with:
        fetch-depth: 1
    - name: setup ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: 2.7
    # setup a package lock if one doesn't exist, otherwise do nothing
    - name: check lock
      run: '[ -f "Gemfile.lock" ] && echo "package lock file exists, skipping" || bundle lock'
    # install java
    - uses: actions/setup-java@v3
      with:
        distribution: 'temurin' # See 'Supported distributions' for available options
        java-version: '17'
    # download mend
    - name: download_mend
      run: curl -o wss-unified-agent.jar https://unified-agent.s3.amazonaws.com/wss-unified-agent.jar
    - name: run mend
      run: java -jar wss-unified-agent.jar
      env:
        WS_APIKEY: ${{ secrets.MEND_API_KEY }}
        WS_WSS_URL: https://saas-eu.whitesourcesoftware.com/agent
        WS_USERKEY: ${{ secrets.MEND_TOKEN }}
        WS_PRODUCTNAME: RE
        WS_PROJECTNAME: ${{ github.event.repository.name }}

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
beaker-pe-2.15.0 .github/workflows/security.yml
beaker-pe-2.14.1 .github/workflows/security.yml
beaker-pe-2.14.0 .github/workflows/security.yml
beaker-pe-2.13.0 .github/workflows/security.yml
beaker-qa-i18n-1.0.0 .github/workflows/security.yml
beaker-pe-2.12.0 .github/workflows/security.yml
beaker-abs-1.0.0 .github/workflows/security.yml