mirror of
https://github.com/hanzoai/node-jwks-rsa.git
synced 2026-09-24 17:00:54 +00:00
Delete upstream workflows
This fork does not ship upstream's releases, and its hosted-runner jobs never start here. Claude-Session: https://claude.ai/code/session_01HuMDfgFssPUptYUzgZ6Cp8
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: 'github-actions'
|
||||
directory: '/'
|
||||
schedule:
|
||||
interval: 'daily'
|
||||
groups:
|
||||
codeql:
|
||||
patterns:
|
||||
- 'github/codeql-action*'
|
||||
@@ -1,18 +0,0 @@
|
||||
name: Claude Code PR Review
|
||||
|
||||
on:
|
||||
issue_comment:
|
||||
types: [created]
|
||||
pull_request_review_comment:
|
||||
types: [created]
|
||||
pull_request_review:
|
||||
types: [submitted]
|
||||
|
||||
jobs:
|
||||
claude-review:
|
||||
permissions:
|
||||
contents: write
|
||||
issues: write
|
||||
pull-requests: write
|
||||
id-token: write
|
||||
uses: auth0/auth0-ai-pr-analyzer-gh-action/.github/workflows/claude-code-review.yml@main
|
||||
@@ -1,53 +0,0 @@
|
||||
name: CodeQL
|
||||
|
||||
on:
|
||||
merge_group:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
schedule:
|
||||
- cron: '37 10 * * 2'
|
||||
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Check for Vulnerabilities
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
language: [javascript]
|
||||
|
||||
steps:
|
||||
- if: github.actor == 'dependabot[bot]' || github.event_name == 'merge_group'
|
||||
run: exit 0 # Skip unnecessary test runs for dependabot and merge queues. Artifically flag as successful, as this is a required check for branch protection.
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4.37.3
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
queries: +security-and-quality
|
||||
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4.37.3
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4.37.3
|
||||
with:
|
||||
category: '/language:${{ matrix.language }}'
|
||||
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"include": [
|
||||
{ "node": "^24.0.0" },
|
||||
{ "node": "^22.12.0" },
|
||||
{ "node": "^20.19.0" }
|
||||
]
|
||||
}
|
||||
@@ -1,83 +0,0 @@
|
||||
name: Create npm and GitHub Release
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
node-version:
|
||||
required: true
|
||||
type: string
|
||||
require-build:
|
||||
default: true
|
||||
type: string
|
||||
release-directory:
|
||||
default: './'
|
||||
type: string
|
||||
secrets:
|
||||
github-token:
|
||||
required: true
|
||||
|
||||
### TODO: Replace instances of './.github/actions/' w/ `auth0/dx-sdk-actions/` and append `@latest` after the common `dx-sdk-actions` repo is made public.
|
||||
### TODO: Also remove `get-prerelease`, `get-version`, `release-create`, `tag-create` and `tag-exists` actions from this repo's .github/actions folder once the repo is public.
|
||||
|
||||
jobs:
|
||||
release:
|
||||
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.merged && startsWith(github.event.pull_request.head.ref, 'release/'))
|
||||
runs-on: ubuntu-latest
|
||||
environment: release
|
||||
permissions:
|
||||
contents: write
|
||||
id-token: write
|
||||
|
||||
steps:
|
||||
# Checkout the code
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
# Get the version from the branch name
|
||||
- id: get_version
|
||||
uses: ./.github/actions/get-version
|
||||
|
||||
# Get the prerelease flag from the branch name
|
||||
- id: get_prerelease
|
||||
uses: ./.github/actions/get-prerelease
|
||||
with:
|
||||
version: ${{ steps.get_version.outputs.version }}
|
||||
|
||||
# Get the release notes
|
||||
- id: get_release_notes
|
||||
uses: ./.github/actions/get-release-notes
|
||||
with:
|
||||
token: ${{ secrets.github-token }}
|
||||
version: ${{ steps.get_version.outputs.version }}
|
||||
repo_owner: ${{ github.repository_owner }}
|
||||
repo_name: ${{ github.event.repository.name }}
|
||||
|
||||
# Check if the tag already exists
|
||||
- id: tag_exists
|
||||
uses: ./.github/actions/tag-exists
|
||||
with:
|
||||
tag: ${{ steps.get_version.outputs.version }}
|
||||
token: ${{ secrets.github-token }}
|
||||
|
||||
# If the tag already exists, exit with an error
|
||||
- if: steps.tag_exists.outputs.exists == 'true'
|
||||
run: exit 1
|
||||
|
||||
# Publish the release to npm
|
||||
- uses: ./.github/actions/npm-publish
|
||||
with:
|
||||
node-version: ${{ inputs.node-version }}
|
||||
require-build: ${{ inputs.require-build }}
|
||||
release-directory: ${{ inputs.release-directory }}
|
||||
version: ${{ steps.get_version.outputs.version }}
|
||||
|
||||
# Create a release for the tag
|
||||
- uses: ./.github/actions/release-create
|
||||
with:
|
||||
token: ${{ secrets.github-token }}
|
||||
name: ${{ steps.get_version.outputs.version }}
|
||||
body: ${{ steps.get_release_notes.outputs.release-notes }}
|
||||
tag: ${{ steps.get_version.outputs.version }}
|
||||
commit: ${{ github.sha }}
|
||||
prerelease: ${{ steps.get_prerelease.outputs.prerelease }}
|
||||
@@ -1,24 +0,0 @@
|
||||
name: Create GitHub Release
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- closed
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
id-token: write # For publishing to npm using --provenance
|
||||
|
||||
### 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`, `npm-publish`, `release-create`, and `tag-exists` actions from this repo's .github/actions folder once the repo is public.
|
||||
### TODO: Also remove `npm-release` workflow from this repo's .github/workflows folder once the repo is public.
|
||||
|
||||
jobs:
|
||||
release:
|
||||
uses: ./.github/workflows/npm-release.yml
|
||||
with:
|
||||
node-version: 22
|
||||
require-build: false
|
||||
secrets:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -1,43 +0,0 @@
|
||||
name: Snyk
|
||||
|
||||
on:
|
||||
merge_group:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
schedule:
|
||||
- cron: '30 0 1,15 * *'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
|
||||
|
||||
jobs:
|
||||
|
||||
check:
|
||||
|
||||
name: Check for Vulnerabilities
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- if: github.actor == 'dependabot[bot]' || github.event_name == 'merge_group'
|
||||
run: exit 0 # Skip unnecessary test runs for dependabot and merge queues. Artifically flag as successful, as this is a required check for branch protection.
|
||||
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha || github.ref }}
|
||||
|
||||
- name: Build package
|
||||
uses: ./.github/actions/build
|
||||
|
||||
- uses: snyk/actions/node@9adf32b1121593767fc3c057af55b55db032dc04 # [email protected]
|
||||
env:
|
||||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
||||
@@ -1,94 +0,0 @@
|
||||
name: Build and Test
|
||||
|
||||
on:
|
||||
merge_group:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
|
||||
|
||||
|
||||
jobs:
|
||||
configure:
|
||||
name: Configure Build Matrix
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
outputs:
|
||||
matrix: ${{ steps.set-matrix.outputs.matrix }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha || github.ref }}
|
||||
|
||||
- id: set-matrix
|
||||
run: echo "matrix=$(jq -c . < ./.github/workflows/matrix.json)" >> $GITHUB_OUTPUT
|
||||
|
||||
build:
|
||||
needs: configure
|
||||
|
||||
name: Build Package
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix: ${{ fromJson(needs.configure.outputs.matrix) }}
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
|
||||
- uses: ./.github/actions/build
|
||||
with:
|
||||
node: ${{ matrix.node }}
|
||||
|
||||
|
||||
unit:
|
||||
needs: [configure, build] # Require build to complete before running tests
|
||||
|
||||
name: Run Unit Tests
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix: ${{ fromJson(needs.configure.outputs.matrix) }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
|
||||
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
package-manager-cache: false
|
||||
|
||||
- run: npm install
|
||||
- run: npm run test:ci
|
||||
|
||||
# only upload coverage on one node version
|
||||
- if: startsWith(matrix.node, '^20')
|
||||
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # [email protected]
|
||||
|
||||
lint:
|
||||
needs: build # Require build to complete before running tests
|
||||
|
||||
name: Lint Code
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
|
||||
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
||||
with:
|
||||
node-version: 20
|
||||
package-manager-cache: false
|
||||
|
||||
- run: npm install
|
||||
- run: npm run lint
|
||||
Reference in New Issue
Block a user