Skip to content

chore(deps): update actions/setup-node action to v6 #95

chore(deps): update actions/setup-node action to v6

chore(deps): update actions/setup-node action to v6 #95

# SPDX-FileCopyrightText: 2025 diggsweden/rest-api-profil-lint-processor
#
# SPDX-License-Identifier: CC0-1.0
---
name: Pull Request Workflow
on:
pull_request:
branches:
- main
- develop
- 'release/**'
- 'feature/**'
permissions:
contents: read # Best Security practice. Jobs only get read as base, and then permissions are added as needed
jobs:
pr-checks:
uses: diggsweden/reusable-ci/.github/workflows/pullrequest-orchestrator.yml@v2

Check failure on line 21 in .github/workflows/pullrequest-workflow.yml

View workflow run for this annotation

GitHub Actions / Pull Request Workflow

Invalid workflow file

The workflow is not valid. .github/workflows/pullrequest-workflow.yml (Line: 21, Col: 11): Input project-type is required, but not provided while calling. .github/workflows/pullrequest-workflow.yml (Line: 28, Col: 20): Invalid input, projectType is not defined in the referenced workflow.
secrets: inherit # Pass org-level secrets (NPM token if private packages)
permissions:
contents: read # Clone repository and read source code
packages: read # Access private NPM packages from GitHub registry
security-events: write # Upload ESLint/security findings to GitHub Security tab
with:
projectType: npm
# MegaLinter is disabled for this project
linters.megalint: false # Skip MegaLinter
linters.publiccodelint: true
test:
needs: [pr-checks]
if: always() # Run tests even if linting fails (get full CI feedback)
permissions:
contents: read # Read test files and source code
packages: read # Fetch test dependencies from registry
uses: ./.github/workflows/test.yml