Skip to content

Integrate rl-scanner #11

Integrate rl-scanner

Integrate rl-scanner #11

Workflow file for this run

name: Create NuGet and GitHub Release
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: write
### TODO: Replace instances of './.github/workflows/' w/ `auth0/dx-sdk-actions/workflows` and append `@latest` after the common `dx-sdk-actions` repo is made public.
### TODO: Also remove `get-prerelease`, `get-release-notes`, `get-version`, `nuget-publish`, `release-create`, and `tag-exists` actions from this repo's .github/actions folder once the repo is public.
### TODO: Also remove `nuget-release` workflow from this repo's .github/workflows folder once the repo is public.
jobs:
rl-scanner:
strategy:
matrix:
package: ['Auth0.AspNetCore.Authentication']
uses: ./.github/workflows/rl-secure.yml
with:
NUGET_DIRECTORY: ${{ github.workspace }}/nuget

Check failure on line 23 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Create NuGet and GitHub Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 23, Col: 24): Invalid input, NUGET_DIRECTORY is not defined in the referenced workflow. .github/workflows/release.yml (Line: 24, Col: 22): Invalid input, PROJECT_PATHS is not defined in the referenced workflow.
PROJECT_PATHS: "['src/Auth0.AspNetCore.Authentication/Auth0.AspNetCore.Authentication.csproj']"
secrets:
RLSECURE_LICENSE: ${{ secrets.RLSECURE_LICENSE }}
RLSECURE_SITE_KEY: ${{ secrets.RLSECURE_SITE_KEY }}
SIGNAL_HANDLER_TOKEN: ${{ secrets.SIGNAL_HANDLER_TOKEN }}
PRODSEC_TOOLS_USER: ${{ secrets.PRODSEC_TOOLS_USER }}
PRODSEC_TOOLS_TOKEN: ${{ secrets.PRODSEC_TOOLS_TOKEN }}
PRODSEC_TOOLS_ARN: ${{ secrets.PRODSEC_TOOLS_ARN }}
PACKAGE: ${{ matrix.package }}
release:
needs: rl-scanner
uses: ./.github/workflows/nuget-release.yml
with:
dotnet-version: 6.0.x
project-paths: "['src/Auth0.AspNetCore.Authentication/Auth0.AspNetCore.Authentication.csproj']"
secrets:
nuget-token: ${{ secrets.NUGET_APIKEY }}
github-token: ${{ secrets.GITHUB_TOKEN }}