Phase 0: Fundament für Inhaus
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 1m14s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 1m12s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 1m7s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 1m19s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 1m32s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 1m22s
CI / PHP 8.4 / mysql:8.4 (pull_request) Successful in 1m32s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 1m35s
CI / Build-Artefakte aktuell (pull_request) Failing after 1m7s
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 1m14s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 1m12s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 1m7s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 1m19s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 1m32s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 1m22s
CI / PHP 8.4 / mysql:8.4 (pull_request) Successful in 1m32s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 1m35s
CI / Build-Artefakte aktuell (pull_request) Failing after 1m7s
- Laravel 13 mit Filament 5 (Admin), Inertia 3 + Vue 3 + Vuetify 4 (Material 3) - Anmeldung über Fortify (Login, Passwort vergessen/ändern), keine Selbstregistrierung - Profil mit Profilbild (WebP in festen Größen), Personenseiten, Header mit Avatar-Menü - Material-3-Farbschema aus der Primärfarbe, hell/dunkel/System pro Person - Basis-Branding (Portalname, Logo, Primärfarbe) im Admin unter „Erscheinungsbild“ - Benutzerverwaltung im Admin, Zugang vorläufig über is_admin - vendor/ (ohne Dev-Pakete) und Frontend-Build mitversioniert, Dev-Pakete in vendor-dev/ - PHPUnit-Tests gegen MySQL/MariaDB, Forgejo-CI-Matrix, Docker-Entwicklungsumgebung - VERSION, CHANGELOG.md und CONTRIBUTING.md mit Release-Ablauf Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
7197eaebf2
commit
9c0f8de791
15771 changed files with 1564103 additions and 5 deletions
266
vendor/spomky-labs/cbor-php/.github/workflows/ci.yml
vendored
Normal file
266
vendor/spomky-labs/cbor-php/.github/workflows/ci.yml
vendored
Normal file
|
|
@ -0,0 +1,266 @@
|
|||
name: 📁 PHP CI & Docker Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '*.*.x'
|
||||
tags: ['*']
|
||||
pull_request: ~
|
||||
workflow_dispatch: ~
|
||||
|
||||
# Every job below only ever reads the repository. Third-party actions and the
|
||||
# `phpqa` container therefore never receive a token able to write to contents,
|
||||
# packages, issues or pull requests.
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
pre_checks:
|
||||
name: "0️⃣ Pre-checks"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v7.0.1
|
||||
|
||||
- name: "Check file permissions"
|
||||
run: |
|
||||
NON_EXECUTABLE=$(find . -type f -not -path './.git/*' -not -path './bin/console' -not -path './frankenphp/docker-entrypoint.sh' -not -path './link' -executable)
|
||||
if [[ -n "$NON_EXECUTABLE" ]]; then
|
||||
echo "Found non-executable files with executable permission:"
|
||||
echo "$NON_EXECUTABLE"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: "Find non-printable ASCII characters"
|
||||
run: |
|
||||
if LC_ALL=C.UTF-8 find . -type f -name "*.php" -print0 | xargs -0 grep -PHn "[[:cntrl:]]"; then
|
||||
echo "Non-printable ASCII characters found"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
prepare_dependencies:
|
||||
name: "📦 Prepare Composer Dependencies"
|
||||
needs: [pre_checks]
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/spomky-labs/phpqa:8.4
|
||||
outputs:
|
||||
cache-key: ${{ steps.cache-key-generator.outputs.key }}
|
||||
steps:
|
||||
- uses: actions/checkout@v7.0.1
|
||||
|
||||
# `composer.lock` is gitignored (this is a library), so hashing it would
|
||||
# always yield the empty hash and freeze the cache key forever. The
|
||||
# manifest is the only committed input to dependency resolution.
|
||||
- id: cache-key-generator
|
||||
run: echo "key=composer-${{ runner.os }}-${{ hashFiles('composer.json') }}" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- uses: actions/cache@v6.1.0
|
||||
with:
|
||||
path: |
|
||||
vendor
|
||||
~/.composer/cache
|
||||
key: ${{ steps.cache-key-generator.outputs.key }}
|
||||
restore-keys: |
|
||||
composer-${{ runner.os }}-
|
||||
|
||||
- uses: ramsey/composer-install@4.0.0
|
||||
with:
|
||||
dependency-versions: highest
|
||||
composer-options: --optimize-autoloader
|
||||
|
||||
phpstan:
|
||||
name: "1️⃣ Static Analysis (PHPStan)"
|
||||
needs: [prepare_dependencies]
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/spomky-labs/phpqa:8.4
|
||||
steps:
|
||||
- uses: actions/checkout@v7.0.1
|
||||
- uses: actions/cache@v6.1.0
|
||||
with:
|
||||
path: |
|
||||
vendor
|
||||
~/.composer/cache
|
||||
key: ${{ needs.prepare_dependencies.outputs.cache-key }}
|
||||
- run: castor phpstan
|
||||
|
||||
ecs:
|
||||
name: "2️⃣ Coding Standards (ECS)"
|
||||
needs: [prepare_dependencies]
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/spomky-labs/phpqa:8.4
|
||||
steps:
|
||||
- uses: actions/checkout@v7.0.1
|
||||
- uses: actions/cache@v6.1.0
|
||||
with:
|
||||
path: |
|
||||
vendor
|
||||
~/.composer/cache
|
||||
key: ${{ needs.prepare_dependencies.outputs.cache-key }}
|
||||
- run: castor ecs
|
||||
|
||||
rector:
|
||||
name: "3️⃣ Refactoring (Rector)"
|
||||
needs: [prepare_dependencies]
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/spomky-labs/phpqa:8.4
|
||||
steps:
|
||||
- uses: actions/checkout@v7.0.1
|
||||
- uses: actions/cache@v6.1.0
|
||||
with:
|
||||
path: |
|
||||
vendor
|
||||
~/.composer/cache
|
||||
key: ${{ needs.prepare_dependencies.outputs.cache-key }}
|
||||
- run: castor rector
|
||||
|
||||
validate:
|
||||
name: "4️⃣ Validate composer.json"
|
||||
needs: [prepare_dependencies]
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/spomky-labs/phpqa:8.4
|
||||
steps:
|
||||
- uses: actions/checkout@v7.0.1
|
||||
- uses: actions/cache@v6.1.0
|
||||
with:
|
||||
path: |
|
||||
vendor
|
||||
~/.composer/cache
|
||||
key: ${{ needs.prepare_dependencies.outputs.cache-key }}
|
||||
- run: |
|
||||
composer dump-autoload --optimize --strict-psr
|
||||
composer validate --strict
|
||||
composer normalize --dry-run --diff || true
|
||||
|
||||
lint:
|
||||
name: "5️⃣ Syntax Check"
|
||||
needs: [prepare_dependencies]
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/spomky-labs/phpqa:8.4
|
||||
steps:
|
||||
- uses: actions/checkout@v7.0.1
|
||||
- run: composer exec -- parallel-lint src tests
|
||||
|
||||
check_licenses:
|
||||
name: "6️⃣ License Check"
|
||||
needs: [prepare_dependencies]
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/spomky-labs/phpqa:8.4
|
||||
steps:
|
||||
- uses: actions/checkout@v7.0.1
|
||||
- uses: actions/cache@v6.1.0
|
||||
with:
|
||||
path: |
|
||||
vendor
|
||||
~/.composer/cache
|
||||
key: ${{ needs.prepare_dependencies.outputs.cache-key }}
|
||||
# `composer licenses` reads the lock file, which is gitignored and not
|
||||
# part of the cache. Without this install the command reports zero
|
||||
# packages and the job passes without checking anything.
|
||||
- name: Install dependencies
|
||||
run: composer install --no-interaction --no-progress
|
||||
- run: castor check-licenses
|
||||
|
||||
deptrac:
|
||||
name: "7️⃣ Architecture Layer Check (Deptrac)"
|
||||
needs: [prepare_dependencies]
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/spomky-labs/phpqa:8.4
|
||||
steps:
|
||||
- uses: actions/checkout@v7.0.1
|
||||
- uses: actions/cache@v6.1.0
|
||||
with:
|
||||
path: |
|
||||
vendor
|
||||
~/.composer/cache
|
||||
key: ${{ needs.prepare_dependencies.outputs.cache-key }}
|
||||
- run: castor deptrac
|
||||
|
||||
tests:
|
||||
name: "🧪 Unit & Functional Tests (PHP ${{ matrix.php-version }}${{ matrix.lowest-deps && ' - Lowest Deps' || '' }})"
|
||||
needs:
|
||||
- prepare_dependencies
|
||||
- phpstan
|
||||
- ecs
|
||||
- rector
|
||||
- lint
|
||||
- validate
|
||||
- check_licenses
|
||||
- deptrac
|
||||
runs-on: ubuntu-latest
|
||||
continue-on-error: ${{ matrix.experimental || false }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- php-version: '8.2'
|
||||
lowest-deps: true
|
||||
- php-version: '8.2'
|
||||
- php-version: '8.3'
|
||||
- php-version: '8.4'
|
||||
- php-version: '8.5'
|
||||
experimental: true
|
||||
container:
|
||||
image: ghcr.io/spomky-labs/phpqa:${{ matrix.php-version }}
|
||||
env:
|
||||
XDEBUG_MODE: 'off'
|
||||
PHP_VERSION: ${{ matrix.php-version }}
|
||||
steps:
|
||||
- uses: actions/checkout@v7.0.1
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
if [ "${{ matrix.lowest-deps || 'false' }}" = "true" ]; then
|
||||
composer update --prefer-lowest --no-interaction --no-progress
|
||||
else
|
||||
composer install --no-interaction --no-progress
|
||||
fi
|
||||
|
||||
# PHPUnit is invoked directly rather than through `castor phpunit`: castor itself requires PHP >= 8.4 and
|
||||
# this job also runs on the older versions of the matrix. Coverage is produced by the mutation testing job.
|
||||
- name: Run PHPUnit
|
||||
run: composer exec -- phpunit-11 --configuration .ci-tools/phpunit.xml.dist
|
||||
|
||||
infection:
|
||||
name: "🧬 Mutation Testing"
|
||||
needs: [tests]
|
||||
if: ${{ endsWith(github.ref_name, '.x') }}
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/spomky-labs/phpqa:8.4
|
||||
env:
|
||||
XDEBUG_MODE: coverage
|
||||
steps:
|
||||
- uses: actions/checkout@v7.0.1
|
||||
- name: Install dependencies
|
||||
run: composer install --no-interaction --no-progress
|
||||
- name: Run PHPUnit
|
||||
run: castor phpunit
|
||||
- name: Execute Infection
|
||||
run: castor infect
|
||||
|
||||
exported_files:
|
||||
name: "8️⃣ Exported Files Check"
|
||||
needs: [prepare_dependencies]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v7.0.1
|
||||
- name: Check exported files
|
||||
run: |
|
||||
EXPECTED="CODE_OF_CONDUCT.md,LICENSE,README.md,RELEASES.md,SECURITY.md,composer.json"
|
||||
CURRENT=$(git archive HEAD | tar --list | grep -v '/$' | grep -Ev '^(\.github|assets|bin|config|fixtures|frankenphp|migrations|public|src|templates|translations)/' | sort | paste -sd "," -)
|
||||
echo "CURRENT = ${CURRENT}"
|
||||
echo "EXPECTED = ${EXPECTED}"
|
||||
if [[ "$CURRENT" != "$EXPECTED" ]]; then
|
||||
echo "❌ Exported files do not match expected list"
|
||||
exit 1
|
||||
fi
|
||||
14
vendor/spomky-labs/cbor-php/.github/workflows/dependency-review.yml
vendored
Normal file
14
vendor/spomky-labs/cbor-php/.github/workflows/dependency-review.yml
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
name: 'Dependency Review'
|
||||
on: [pull_request]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
dependency-review:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: 'Checkout Repository'
|
||||
uses: actions/checkout@v7.0.1
|
||||
- name: 'Dependency Review'
|
||||
uses: actions/dependency-review-action@v5.0.0
|
||||
29
vendor/spomky-labs/cbor-php/.github/workflows/lock-closed-issues.yml
vendored
Normal file
29
vendor/spomky-labs/cbor-php/.github/workflows/lock-closed-issues.yml
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
name: 'Lock Issues'
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '12 6 * * *'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
lock:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
# Required to comment on and lock closed issues.
|
||||
issues: write
|
||||
steps:
|
||||
- uses: dessant/lock-threads@v6.0.2
|
||||
with:
|
||||
github-token: ${{ github.token }}
|
||||
issue-inactive-days: '31'
|
||||
exclude-issue-created-before: ''
|
||||
exclude-any-issue-labels: ''
|
||||
add-issue-labels: ''
|
||||
issue-comment: >
|
||||
This thread has been automatically locked since there has not been
|
||||
any recent activity after it was closed. Please open a new issue for
|
||||
related bugs.
|
||||
issue-lock-reason: 'resolved'
|
||||
process-only: 'issues'
|
||||
105
vendor/spomky-labs/cbor-php/.github/workflows/release-on-milestone-closed.yml
vendored
Normal file
105
vendor/spomky-labs/cbor-php/.github/workflows/release-on-milestone-closed.yml
vendored
Normal file
|
|
@ -0,0 +1,105 @@
|
|||
name: "Automatic Releases"
|
||||
|
||||
# The five commands must stay steps of a single job: "release" runs
|
||||
# `git checkout <release branch>`, which is what makes that branch available
|
||||
# locally, and the following commands require it. Splitting them into separate
|
||||
# jobs gives each one a fresh checkout of the default branch, so every release
|
||||
# made from an older branch fails with "not a valid object name".
|
||||
#
|
||||
# The checkout must be unshallow for the same reason: "switch-default-branch-
|
||||
# to-next-minor" resolves the newest release branch locally, and the default
|
||||
# shallow clone only contains the ref that triggered the workflow.
|
||||
#
|
||||
# Every step uses the vendored ./.github/actions/automatic-releases, which is
|
||||
# laminas/automatic-releases 1.26.2 with its Docker image referenced by digest
|
||||
# instead of the floating `:1` tag — GHCR publishes no versioned manifest to
|
||||
# pin instead. See that file for the refresh procedure.
|
||||
#
|
||||
# TODO(#154): ORGANIZATION_ADMIN_TOKEN is an org-wide classic PAT with admin
|
||||
# rights over every Spomky-Labs repository. It should be replaced by a
|
||||
# fine-grained PAT scoped to this repository alone, with Contents, Pull
|
||||
# requests and Issues set to write. Only the two steps below actually need it
|
||||
# (they push branches and change the default branch); the remaining three run
|
||||
# on the workflow's own GITHUB_TOKEN.
|
||||
|
||||
on:
|
||||
milestone:
|
||||
types:
|
||||
- "closed"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
release:
|
||||
name: "Release"
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
# `bump-changelog` pushes a commit to the originating release branch.
|
||||
contents: write
|
||||
# `create-milestones` opens the milestones for the next versions.
|
||||
issues: write
|
||||
# `create-merge-up-pull-request` opens the merge-up PR.
|
||||
pull-requests: write
|
||||
|
||||
steps:
|
||||
- name: "Checkout"
|
||||
uses: "actions/checkout@v7.0.1"
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: "Release"
|
||||
uses: "./.github/actions/automatic-releases"
|
||||
with:
|
||||
command-name: "laminas:automatic-releases:release"
|
||||
env:
|
||||
"SHELL_VERBOSITY": "3"
|
||||
"GITHUB_TOKEN": ${{ secrets.ORGANIZATION_ADMIN_TOKEN }}
|
||||
"SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }}
|
||||
"GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }}
|
||||
"GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }}
|
||||
|
||||
- name: "Create Merge-Up Pull Request"
|
||||
uses: "./.github/actions/automatic-releases"
|
||||
with:
|
||||
command-name: "laminas:automatic-releases:create-merge-up-pull-request"
|
||||
env:
|
||||
"SHELL_VERBOSITY": "3"
|
||||
"GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }}
|
||||
"SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }}
|
||||
"GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }}
|
||||
"GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }}
|
||||
|
||||
- name: "Create and/or Switch to new Release Branch"
|
||||
uses: "./.github/actions/automatic-releases"
|
||||
with:
|
||||
command-name: "laminas:automatic-releases:switch-default-branch-to-next-minor"
|
||||
env:
|
||||
"SHELL_VERBOSITY": "3"
|
||||
"GITHUB_TOKEN": ${{ secrets.ORGANIZATION_ADMIN_TOKEN }}
|
||||
"SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }}
|
||||
"GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }}
|
||||
"GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }}
|
||||
|
||||
- name: "Bump Changelog Version On Originating Release Branch"
|
||||
uses: "./.github/actions/automatic-releases"
|
||||
with:
|
||||
command-name: "laminas:automatic-releases:bump-changelog"
|
||||
env:
|
||||
"SHELL_VERBOSITY": "3"
|
||||
"GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }}
|
||||
"SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }}
|
||||
"GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }}
|
||||
"GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }}
|
||||
|
||||
- name: "Create new milestones"
|
||||
uses: "./.github/actions/automatic-releases"
|
||||
with:
|
||||
command-name: "laminas:automatic-releases:create-milestones"
|
||||
env:
|
||||
"SHELL_VERBOSITY": "3"
|
||||
"GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }}
|
||||
"SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }}
|
||||
"GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }}
|
||||
"GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }}
|
||||
62
vendor/spomky-labs/cbor-php/.github/workflows/scorecards.yml
vendored
Normal file
62
vendor/spomky-labs/cbor-php/.github/workflows/scorecards.yml
vendored
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
name: Scorecards supply-chain security
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '34 4 * * 6'
|
||||
push:
|
||||
branches:
|
||||
- "*.*.x"
|
||||
|
||||
# Declare default permissions as read only.
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
analysis:
|
||||
name: Scorecards analysis
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
# Needed to upload the results to code-scanning dashboard.
|
||||
security-events: write
|
||||
# Used to receive a badge. (Upcoming feature)
|
||||
id-token: write
|
||||
# Needs for private repositories.
|
||||
contents: read
|
||||
actions: read
|
||||
|
||||
steps:
|
||||
- name: "Checkout code"
|
||||
uses: actions/checkout@v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: "Run analysis"
|
||||
uses: ossf/scorecard-action@v2.4.4
|
||||
with:
|
||||
results_file: results.sarif
|
||||
results_format: sarif
|
||||
# (Optional) Read-only PAT token. Uncomment the `repo_token` line below if:
|
||||
# - you want to enable the Branch-Protection check on a *public* repository, or
|
||||
# - you are installing Scorecards on a *private* repository
|
||||
# To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.
|
||||
# repo_token: ${{ secrets.SCORECARD_READ_TOKEN }}
|
||||
|
||||
# Publish the results for public repositories to enable scorecard badges. For more details, see
|
||||
# https://github.com/ossf/scorecard-action#publishing-results.
|
||||
# For private repositories, `publish_results` will automatically be set to `false`, regardless
|
||||
# of the value entered here.
|
||||
publish_results: true
|
||||
|
||||
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
|
||||
# format to the repository Actions tab.
|
||||
- name: "Upload artifact"
|
||||
uses: actions/upload-artifact@v7.0.1
|
||||
with:
|
||||
name: SARIF file
|
||||
path: results.sarif
|
||||
retention-days: 5
|
||||
|
||||
# Upload the results to GitHub's code scanning dashboard.
|
||||
- name: "Upload to code-scanning"
|
||||
uses: github/codeql-action/upload-sarif@v4.37.9
|
||||
with:
|
||||
sarif_file: results.sarif
|
||||
Loading…
Add table
Add a link
Reference in a new issue