Skip to content

Tasks #38

@sonnyquinn24

Description

@sonnyquinn24

I need you do the following tasks

you could modify this workflow to upload a directory of SARIF files. For example, you could place all SARIF files in a directory in the root of your repository called sarif-output and set the action's input parameter sarif_file to sarif-output. Note that if you upload a directory, each SARIF file must include a unique runAutomationDetails.id to define the category for the results. For more information, see SARIF support for code scanning.

name: "Upload SARIF"

Run workflow each time code is pushed to your repository and on a schedule.

The scheduled workflow runs every Thursday at 15:45 UTC.

on:
push:
schedule:
- cron: '45 15 * * 4'

jobs:
build:
runs-on: ubuntu-latest
permissions:
# required for all workflows
security-events: write
# only required for workflows in private repositories
actions: read
contents: read
steps:
# This step checks out a copy of your repository.
- name: Checkout repository
uses: actions/checkout@v4
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
# Path to SARIF file relative to the root of the repository
sarif_file: results.sarif
# Optional category for the results
# Used to differentiate multiple results for one commit
category: my-analysis-tool

Sub-issues

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocumentationImprovements or additions to documentationduplicateThis issue or pull request already existsenhancementNew feature or requestgood first issueGood for newcomersinvalidThis doesn't seem rightquestionFurther information is requestedwontfixThis will not be worked on

Projects

Status

Done

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions