Skip to content

[pre-commit.ci] pre-commit autoupdate #663

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #663

Workflow file for this run

# A workflow that tests this action
name: SARIF issue workflow
on:
pull_request:
branches: [main]
workflow_dispatch:
permissions:
issues: write
jobs:
issue:
runs-on: ubuntu-latest
name: Run the SARIF issue updater
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7
with:
egress-policy: block
disable-telemetry: true
allowed-endpoints: >
api.github.com:443
github.com:443
registry.npmjs.org:443
- name: Checkout
uses: actions/checkout@6d193bf28034eafb982f37bd894289fe649468fc
- name: Post SARIF findings in the issue
uses: sett-and-hive/sarif-to-issue-action@main # Not pinned, this is a test
with:
token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}
branch: ${{ github.head_ref }}
sarif-file: ./test/fixtures/odc.sarif
title: "Build artifact: issue-test.yml workflow"
labels: "build,expected"
dry-run: false
odc-sarif: true