Add CodeQL analysis workflow configuration #63
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: OSS Compliance | |
permissions: | |
contents: read | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
repo-linter: | |
name: Repo Linter | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Setup Node version | |
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Execute Repo Linter | |
run: | | |
echo "Installing Repo Linter" | |
npm install -g [email protected] | |
echo "Executing Repo Linter" | |
repolinter --rulesetFile repolinter.json --dryRun . | |
echo "Repo Linter execution completed" | |
reuse-compliance: | |
name: REUSE Compliance | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: REUSE Compliance Check | |
uses: fsfe/reuse-action@bb774aa972c2a89ff34781233d275075cbddf542 # v5 |