Skip to content

ESLint

ESLint #746

Workflow file for this run

name: ESLint
on:
schedule:
- cron: '0 18 * * *'
# push:
# branches: main
# pull_request:
# branches: main
permissions:
contents: read
jobs:
ESLint:
if: ${{ github.repository_owner == 'ihub-pub' }}
permissions:
contents: read
security-events: write
actions: read
name: OSSAR Scan
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
disable-sudo: true
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Run OSSAR
uses: github/ossar-action@786a16a90ba92b4ae6228fe7382fb16ef5c51000 # v1
id: ossar
- name: Upload OSSAR results
uses: github/codeql-action/upload-sarif@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10
with:
sarif_file: ${{ steps.ossar.outputs.sarifFile }}