Skip to content

Updated ApplicationMailer so that it explicitly imports helpers (Rail… #357

Updated ApplicationMailer so that it explicitly imports helpers (Rail…

Updated ApplicationMailer so that it explicitly imports helpers (Rail… #357

name: Ruby and Javascript dependency scans
on:
push:
branches: [ main ]
paths-ignore:
- 'app/doc/**'
- 'app/README.md'
pull_request:
branches: [ main ]
paths: ['app/**']
schedule:
# cron format: 'minute hour dayofmonth month dayofweek'
# this will run at noon UTC every day (7am EST / 8am EDT)
- cron: '0 12 * * *'
jobs:
bundle-audit:
name: Bundle audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-languages
- name: Update advisory database and run checks
run: bundle exec rake bundler:audit
working-directory: app
npm-audit:
name: npm audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-languages
- name: Run npm audit
working-directory: app
run: bundle exec rake npm:audit
ruby-bom:
name: Ruby SBOM Generation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-languages
- name: Install cyclonedx
run: gem install cyclonedx-ruby
- name: Generate BOM
working-directory: app
run: cyclonedx-ruby -p . -o ruby_bom.xml
- name: Save BOM
working-directory: app
uses: actions/upload-artifact@v3

Check failure on line 58 in .github/workflows/dependency-scans.yml

View workflow run for this annotation

GitHub Actions / Ruby and Javascript dependency scans

Invalid workflow file

The workflow is not valid. .github/workflows/dependency-scans.yml (Line: 58, Col: 9): Unexpected value 'uses' .github/workflows/dependency-scans.yml (Line: 59, Col: 9): Unexpected value 'with'
with:
name: ruby-bom
path: ./ruby_bom.xml