mirror of
https://github.com/hanzoai/openid-client.git
synced 2026-09-24 17:01:10 +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: "monthly"
|
||||
groups:
|
||||
actions:
|
||||
patterns:
|
||||
- "*"
|
||||
@@ -1,151 +0,0 @@
|
||||
name: Conformance Checks
|
||||
|
||||
permissions: {}
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
schedule:
|
||||
- cron: '20 11 * * 1'
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
conformance_suite_version:
|
||||
description: 'Conformance Suite version override, e.g. release-v5.1.39 (takes precedence over vars.CONFORMANCE_SUITE_VERSION)'
|
||||
required: false
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
build:
|
||||
uses: panva/.github/.github/workflows/build-conformance-suite.yml@main
|
||||
with:
|
||||
version: ${{ inputs.conformance_suite_version || vars.CONFORMANCE_SUITE_VERSION || '' }}
|
||||
|
||||
run:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- build
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
setup:
|
||||
# Core 1.0 response_type=code
|
||||
- plan: oidcc-client-basic-certification-test-plan
|
||||
- plan: oidcc-client-basic-certification-test-plan
|
||||
variant:
|
||||
client_registration: dynamic_client
|
||||
|
||||
# Core 1.0 response_type=code id_token
|
||||
- plan: oidcc-client-hybrid-certification-test-plan
|
||||
- plan: oidcc-client-hybrid-certification-test-plan
|
||||
variant:
|
||||
client_registration: dynamic_client
|
||||
|
||||
# Core 1.0 response_type=id_token
|
||||
- plan: oidcc-client-implicit-certification-test-plan
|
||||
- plan: oidcc-client-implicit-certification-test-plan
|
||||
variant:
|
||||
client_registration: dynamic_client
|
||||
|
||||
# Comprehensive Core 1.0 client test
|
||||
- plan: oidcc-client-test-plan
|
||||
- plan: oidcc-client-test-plan
|
||||
variant:
|
||||
response_type: code id_token
|
||||
- plan: oidcc-client-test-plan
|
||||
variant:
|
||||
response_type: id_token
|
||||
|
||||
# Financial-grade API Security Profile 1.0 - Part 2: Advanced
|
||||
- plan: fapi1-advanced-final-client-test-plan
|
||||
variant:
|
||||
client_auth_type: 'private_key_jwt'
|
||||
- plan: fapi1-advanced-final-client-test-plan
|
||||
variant:
|
||||
client_auth_type: 'mtls'
|
||||
- plan: fapi1-advanced-final-client-test-plan
|
||||
variant:
|
||||
fapi_response_mode: 'plain_response'
|
||||
fapi_auth_request_method: 'by_value'
|
||||
|
||||
# FAPI 2.0 Security Profile Final
|
||||
- plan: fapi2-security-profile-final-client-test-plan
|
||||
variant:
|
||||
client_auth_type: 'private_key_jwt'
|
||||
sender_constrain: 'dpop'
|
||||
- plan: fapi2-security-profile-final-client-test-plan
|
||||
variant:
|
||||
client_auth_type: 'private_key_jwt'
|
||||
sender_constrain: 'mtls'
|
||||
- plan: fapi2-security-profile-final-client-test-plan
|
||||
variant:
|
||||
client_auth_type: 'mtls'
|
||||
sender_constrain: 'dpop'
|
||||
- plan: fapi2-security-profile-final-client-test-plan
|
||||
variant:
|
||||
client_auth_type: 'mtls'
|
||||
sender_constrain: 'mtls'
|
||||
|
||||
# FAPI 2.0 Message Signing Final
|
||||
- plan: fapi2-message-signing-final-client-test-plan
|
||||
- plan: fapi2-message-signing-final-client-test-plan
|
||||
variant:
|
||||
fapi_client_type: 'plain_oauth'
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
- name: Load Cached Conformance Suite Build
|
||||
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
||||
id: cache
|
||||
with:
|
||||
path: ./conformance-suite
|
||||
key: ${{ needs.build.outputs.cache-key }}
|
||||
fail-on-cache-miss: true
|
||||
- name: Run Conformance Suite
|
||||
working-directory: ./conformance-suite
|
||||
env:
|
||||
COMPOSE_BAKE: true
|
||||
run: |
|
||||
docker compose -f docker-compose-dev.yml up -d
|
||||
while ! curl -skfail https://localhost.emobix.co.uk:8443/api/runner/available >/dev/null; do sleep 2; done
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||
with:
|
||||
node-version: lts/*
|
||||
cache: 'npm'
|
||||
- run: npm clean-install
|
||||
- name: npm run conformance
|
||||
run: |
|
||||
set -o pipefail
|
||||
npm run conformance | tee capture.txt
|
||||
env:
|
||||
NODE_TLS_REJECT_UNAUTHORIZED: 0
|
||||
SUITE_BASE_URL: https://localhost.emobix.co.uk:8443
|
||||
PLAN_NAME: ${{ matrix.setup.plan }}
|
||||
VARIANT: ${{ toJSON(matrix.setup.variant) }}
|
||||
- run: node ./conformance/.parse-logs.mjs capture.txt
|
||||
- name: Stop Conformance Suite
|
||||
working-directory: ./conformance-suite
|
||||
env:
|
||||
COMPOSE_BAKE: true
|
||||
run: |
|
||||
docker compose -f docker-compose-dev.yml down
|
||||
sudo rm -rf mongo
|
||||
- name: Upload test artifacts
|
||||
id: artifact-upload-step
|
||||
uses: actions/[email protected]
|
||||
with:
|
||||
path: |
|
||||
*.zip
|
||||
*.txt
|
||||
name: conformance results idx(${{ strategy.job-index }})
|
||||
if-no-files-found: error
|
||||
if: ${{ always() }}
|
||||
- if: ${{ success() }}
|
||||
run: |
|
||||
echo "### [:tada:](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts/${{ steps.artifact-upload-step.outputs.artifact-id }})" >> $GITHUB_STEP_SUMMARY
|
||||
- if: ${{ failure() }}
|
||||
run: |
|
||||
echo "### [:exclamation:](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts/${{ steps.artifact-upload-step.outputs.artifact-id }})" >> $GITHUB_STEP_SUMMARY
|
||||
@@ -1,26 +0,0 @@
|
||||
name: 'Lock threads'
|
||||
|
||||
permissions: {}
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '20 11 * * 1'
|
||||
|
||||
jobs:
|
||||
lock:
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
discussions: write
|
||||
if: ${{ github.repository == 'panva/openid-client' }}
|
||||
continue-on-error: true
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: dessant/lock-threads@89ae32b08ed1a541efecbab17912962a5e38981c # v6.0.2
|
||||
with:
|
||||
github-token: ${{ github.token }}
|
||||
issue-inactive-days: '90'
|
||||
issue-lock-reason: ''
|
||||
pr-inactive-days: '90'
|
||||
pr-lock-reason: ''
|
||||
discussion-inactive-days: '90'
|
||||
@@ -1,80 +0,0 @@
|
||||
name: Release
|
||||
|
||||
permissions: {}
|
||||
|
||||
on:
|
||||
push:
|
||||
tags: ['v6.[0-9]+.[0-9]+']
|
||||
|
||||
jobs:
|
||||
npm:
|
||||
if: ${{ github.repository == 'panva/openid-client' }}
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||
with:
|
||||
node-version: lts/*
|
||||
registry-url: https://registry.npmjs.org
|
||||
- run: npm install -g npm@latest
|
||||
- run: npm stage publish
|
||||
|
||||
jsr:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
steps:
|
||||
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- run: npx jsr publish
|
||||
|
||||
cleanup:
|
||||
needs:
|
||||
- npm
|
||||
- jsr
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- run: git push origin $GITHUB_SHA:v6.x
|
||||
- run: git rm -r build
|
||||
- run: |
|
||||
git config --local user.name "github-actions[bot]"
|
||||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git commit -m "chore: cleanup after release"
|
||||
- run: git push origin HEAD:main
|
||||
|
||||
github:
|
||||
needs:
|
||||
- npm
|
||||
- jsr
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
discussions: write
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
with:
|
||||
fetch-depth: 2
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||
with:
|
||||
node-version: lts/*
|
||||
cache: 'npm'
|
||||
- run: node .release-notes.cjs
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -1,22 +0,0 @@
|
||||
name: Retry
|
||||
|
||||
permissions: {}
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows:
|
||||
- Conformance Checks
|
||||
- Test
|
||||
types:
|
||||
- completed
|
||||
|
||||
jobs:
|
||||
retry:
|
||||
permissions:
|
||||
actions: write
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.repository == 'panva/openid-client' && github.event.workflow_run.conclusion == 'failure' && github.event.workflow_run.run_attempt == 1 }}
|
||||
steps:
|
||||
- run: gh api -XPOST ${{ github.event.workflow_run.rerun_url }}-failed-jobs
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
@@ -1,236 +0,0 @@
|
||||
name: Test
|
||||
|
||||
permissions: {}
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
schedule:
|
||||
- cron: '20 11 * * 1'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||
with:
|
||||
node-version: lts/*
|
||||
cache: 'npm'
|
||||
- run: npm clean-install
|
||||
- run: npm run build
|
||||
|
||||
format:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||
with:
|
||||
node-version: lts/*
|
||||
cache: 'npm'
|
||||
- run: npm clean-install
|
||||
- run: npm run format-check
|
||||
- run: git diff --quiet
|
||||
|
||||
check-docs:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- build
|
||||
- format
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||
with:
|
||||
node-version: lts/*
|
||||
cache: 'npm'
|
||||
- run: npm clean-install
|
||||
- uses: r-lib/actions/setup-pandoc@d3c5be51b12e724e68f33216ca3c148b66d5f0b6 # v2.12.1
|
||||
with:
|
||||
pandoc-version: latest
|
||||
- run: npm run build
|
||||
- run: npm run docs-check
|
||||
|
||||
node-versions:
|
||||
uses: panva/.github/.github/workflows/node-versions.yml@main
|
||||
with:
|
||||
min: 20
|
||||
|
||||
node:
|
||||
needs:
|
||||
- node-versions
|
||||
- build
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
node-version: ${{ fromJSON(needs.node-versions.outputs.matrix) }}
|
||||
suite:
|
||||
- tap:node
|
||||
- test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'npm'
|
||||
check-latest: true
|
||||
- run: npm clean-install
|
||||
- name: Run Test Suite
|
||||
run: npm run ${{ matrix.suite }}
|
||||
- name: Upload server logs
|
||||
if: ${{ failure() && matrix.suite == 'tap:node' }}
|
||||
id: artifact-upload-step
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
with:
|
||||
path: server.log
|
||||
name: node idx(${{ strategy.job-index }}) server log
|
||||
if-no-files-found: warn
|
||||
|
||||
electron:
|
||||
needs:
|
||||
- build
|
||||
runs-on: macos-15
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||
with:
|
||||
node-version: lts/*
|
||||
cache: 'npm'
|
||||
- run: npm clean-install
|
||||
- run: npm install --global electron
|
||||
- name: Run Test Suite
|
||||
run: npm run tap:electron
|
||||
- name: Upload server logs
|
||||
if: ${{ failure() }}
|
||||
id: artifact-upload-step
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
with:
|
||||
path: server.log
|
||||
name: electron server log
|
||||
if-no-files-found: warn
|
||||
|
||||
deno:
|
||||
needs:
|
||||
- build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
- uses: denoland/setup-deno@667a34cdef165d8d2b2e98dde39547c9daac7282 # v2.0.4
|
||||
with:
|
||||
deno-version: latest
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||
with:
|
||||
node-version: lts/*
|
||||
cache: 'npm'
|
||||
- run: npm clean-install
|
||||
- name: Run Test Suite
|
||||
run: npm run tap:deno
|
||||
- name: Upload server logs
|
||||
if: ${{ failure() }}
|
||||
id: artifact-upload-step
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
with:
|
||||
path: server.log
|
||||
name: deno server log
|
||||
if-no-files-found: warn
|
||||
|
||||
workerd:
|
||||
needs:
|
||||
- build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||
with:
|
||||
node-version: lts/*
|
||||
cache: 'npm'
|
||||
- run: npm clean-install
|
||||
- run: npm install --global workerd
|
||||
- run: npm link workerd
|
||||
- name: Run Test Suite
|
||||
run: npm run tap:workerd
|
||||
|
||||
bun:
|
||||
needs:
|
||||
- build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
|
||||
with:
|
||||
bun-version: latest
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||
with:
|
||||
node-version: lts/*
|
||||
cache: 'npm'
|
||||
- run: npm clean-install
|
||||
- name: Run Test Suite
|
||||
run: npm run tap:bun
|
||||
- name: Upload server logs
|
||||
if: ${{ failure() }}
|
||||
id: artifact-upload-step
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
with:
|
||||
path: server.log
|
||||
name: bun server log
|
||||
if-no-files-found: warn
|
||||
|
||||
browsers:
|
||||
needs:
|
||||
- build
|
||||
runs-on: macos-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
browser:
|
||||
- chromium
|
||||
- firefox
|
||||
- safari
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||
with:
|
||||
node-version: lts/*
|
||||
cache: 'npm'
|
||||
- run: npm clean-install
|
||||
- name: Get Playwright version
|
||||
id: playwright-version
|
||||
run: echo "version=$(npm list playwright --json | jq -r '.dependencies["@playwright/test"].dependencies.playwright.version')" >> $GITHUB_OUTPUT
|
||||
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
||||
with:
|
||||
path: ~/Library/Caches/ms-playwright
|
||||
key: playwright-${{ runner.os }}-${{ steps.playwright-version.outputs.version }}
|
||||
- run: npx playwright install --only-shell chromium firefox webkit
|
||||
- name: Run Test Suite
|
||||
run: npm run tap:browsers
|
||||
env:
|
||||
BROWSER: ${{ matrix.browser }}
|
||||
- name: Upload server logs
|
||||
if: ${{ failure() }}
|
||||
id: artifact-upload-step
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
with:
|
||||
path: server.log
|
||||
name: ${{ matrix.browser }} server log
|
||||
if-no-files-found: warn
|
||||
Reference in New Issue
Block a user