Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
4b8302b
Update codeowner file with new GitHub team name
stevenwong-okta Jul 25, 2024
0cd8eb5
Update codeowner file with new GitHub team name (#196)
arpit-jn Aug 5, 2024
8e2c478
Changed pull_request_target to pull_request
arpit-jn Oct 4, 2024
313e3b5
Changed pull_request_target to pull_request (#197)
arpit-jn Oct 9, 2024
2e2e248
Adding Reversing Lab Scanner (#198)
kishore7snehil Oct 31, 2024
e218e0c
chore(ci): Remove Semgrep GHA Workflow
eduardoboronat-okta Jul 23, 2025
be3a5ff
chore(ci): Remove Semgrep GHA Workflow (#205)
arpit-jn Sep 15, 2025
42cf1ad
chore: Bump rexml from 3.2.5 to 3.4.4
arpit-jn Sep 15, 2025
0c7cfec
chore: Bump rexml from 3.2.5 to 3.3.9
arpit-jn Sep 15, 2025
94cb259
chore: Bump rexml from 3.2.5 to 3.3.9 (#206)
arpit-jn Sep 15, 2025
2e1a046
docs: Add Ask DeepWiki badge
arpit-jn Oct 17, 2025
9410989
docs: Add Ask DeepWiki badge to README (#211)
arpit-jn Oct 22, 2025
c359e6f
Bump faraday from 2.7.10 to 2.14.1
dependabot[bot] Feb 9, 2026
1facf5a
Bump rack from 2.2.7 to 2.2.23
dependabot[bot] Apr 2, 2026
2b5d9ec
Add support for client assertion signing key authentication while con…
kaczowkad Jun 20, 2025
3ebfb41
Add support for client assertion signing key authentication (#203)
arpit-jn May 12, 2026
85e38c1
Merge branch 'master' into dependabot/bundler/rack-2.2.23
arpit-jn May 12, 2026
a1e6517
Bump rack from 2.2.7 to 2.2.23 (#217)
arpit-jn May 12, 2026
274ac6a
Merge branch 'master' into dependabot/bundler/faraday-2.14.1
arpit-jn May 12, 2026
00aa8d0
Bump faraday from 2.7.10 to 2.14.1 (#215)
arpit-jn May 12, 2026
8237cdf
Release v3.2.0
arpit-jn May 12, 2026
f484dbc
ci: Use bundle update to avoid RubyGems CDN inconsistency with lockfi…
arpit-jn May 28, 2026
afb8214
fix: Add missing require cgi for Ruby 3.0 compatibility in tests
arpit-jn May 28, 2026
aeac2d5
fix: Bump simplecov-cobertura to ~> 3.0 to fix rexml 3.4.4 compatibil…
arpit-jn May 28, 2026
25279e3
docs: Remove phantom v3.2.0 changelog entry that was never published …
arpit-jn May 28, 2026
4eb8a37
docs: Update release date to today and rename Security section to Dep…
arpit-jn May 28, 2026
6debea0
Release v3.2.0 (#219)
arpit-jn May 28, 2026
db0f717
fix: Align release workflow with ruby-auth0 to fix broken publish pip…
arpit-jn May 28, 2026
e5e4907
fix: Broken release workflow (#221)
arpit-jn May 28, 2026
65a7f84
fix: Add v prefix to .version to match release branch naming convention
arpit-jn May 28, 2026
79af6b2
fix: Add v prefix to .version to match release branch naming conventi…
arpit-jn May 28, 2026
4e22b6e
Merge upstream auth0/omniauth-auth0 master (v3.2.0) into fork
pontiphex May 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @auth0/dx-sdks-engineer
* @auth0/project-dx-sdks-engineer-codeowner
30 changes: 30 additions & 0 deletions .github/actions/get-prerelease/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Return a boolean indicating if the version contains prerelease identifiers

#
# Returns a simple true/false boolean indicating whether the version indicates it's a prerelease or not.
#
# TODO: Remove once the common repo is public.
#

inputs:
version:
required: true

outputs:
prerelease:
value: ${{ steps.get_prerelease.outputs.PRERELEASE }}

runs:
using: composite

steps:
- id: get_prerelease
shell: bash
run: |
if [[ "${VERSION}" == *"beta"* || "${VERSION}" == *"alpha"* ]]; then
echo "PRERELEASE=true" >> $GITHUB_OUTPUT
else
echo "PRERELEASE=false" >> $GITHUB_OUTPUT
fi
env:
VERSION: ${{ inputs.version }}
42 changes: 42 additions & 0 deletions .github/actions/get-release-notes/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Return the release notes extracted from the PR body

#
# Returns the release notes from the content of a pull request linked to a release branch. It expects the branch name to be in the format release/vX.Y.Z, release/X.Y.Z, release/vX.Y.Z-beta.N. etc.
#
# TODO: Remove once the common repo is public.
#
inputs:
version:
required: true
repo_name:
required: false
repo_owner:
required: true
token:
required: true

outputs:
release-notes:
value: ${{ steps.get_release_notes.outputs.RELEASE_NOTES }}

runs:
using: composite

steps:
- uses: actions/github-script@v7
id: get_release_notes
with:
result-encoding: string
script: |
const { data: pulls } = await github.rest.pulls.list({
owner: process.env.REPO_OWNER,
repo: process.env.REPO_NAME,
state: 'all',
head: `${process.env.REPO_OWNER}:release/${process.env.VERSION}`,
});
core.setOutput('RELEASE_NOTES', pulls[0].body);
env:
GITHUB_TOKEN: ${{ inputs.token }}
REPO_OWNER: ${{ inputs.repo_owner }}
REPO_NAME: ${{ inputs.repo_name }}
VERSION: ${{ inputs.version }}
21 changes: 21 additions & 0 deletions .github/actions/get-version/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Return the version extracted from the branch name

#
# Returns the version from the .version file.
#
# TODO: Remove once the common repo is public.
#

outputs:
version:
value: ${{ steps.get_version.outputs.VERSION }}

runs:
using: composite

steps:
- id: get_version
shell: bash
run: |
VERSION=$(head -1 .version)
echo "VERSION=${VERSION}" >> $GITHUB_OUTPUT
47 changes: 47 additions & 0 deletions .github/actions/release-create/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Create a GitHub release

#
# Creates a GitHub release with the given version.
#
# TODO: Remove once the common repo is public.
#

inputs:
token:
required: true
files:
required: false
name:
required: true
body:
required: true
tag:
required: true
commit:
required: true
draft:
default: false
required: false
prerelease:
default: false
required: false
fail_on_unmatched_files:
default: true
required: false

runs:
using: composite

steps:
- uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844
with:
body: ${{ inputs.body }}
name: ${{ inputs.name }}
tag_name: ${{ inputs.tag }}
target_commitish: ${{ inputs.commit }}
draft: ${{ inputs.draft }}
prerelease: ${{ inputs.prerelease }}
fail_on_unmatched_files: ${{ inputs.fail_on_unmatched_files }}
files: ${{ inputs.files }}
env:
GITHUB_TOKEN: ${{ inputs.token }}
71 changes: 71 additions & 0 deletions .github/actions/rl-scanner/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: 'Reversing Labs Scanner'
description: 'Runs the Reversing Labs scanner on a specified artifact.'
inputs:
artifact-path:
description: 'Path to the artifact to be scanned.'
required: true
version:
description: 'Version of the artifact.'
required: true

runs:
using: 'composite'
steps:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Install Python dependencies
shell: bash
run: |
pip install boto3 requests

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: ${{ env.PRODSEC_TOOLS_ARN }}
aws-region: us-east-1
mask-aws-account-id: true

- name: Install RL Wrapper
shell: bash
run: |
pip install rl-wrapper>=1.0.0 --index-url "https://${{ env.PRODSEC_TOOLS_USER }}:${{ env.PRODSEC_TOOLS_TOKEN }}@a0us.jfrog.io/artifactory/api/pypi/python-local/simple"

- name: Run RL Scanner
shell: bash
env:
RLSECURE_LICENSE: ${{ env.RLSECURE_LICENSE }}
RLSECURE_SITE_KEY: ${{ env.RLSECURE_SITE_KEY }}
SIGNAL_HANDLER_TOKEN: ${{ env.SIGNAL_HANDLER_TOKEN }}
PYTHONUNBUFFERED: 1
run: |
if [ ! -f "${{ inputs.artifact-path }}" ]; then
echo "Artifact not found: ${{ inputs.artifact-path }}"
exit 1
fi

rl-wrapper \
--artifact "${{ inputs.artifact-path }}" \
--name "${{ github.event.repository.name }}" \
--version "${{ inputs.version }}" \
--repository "${{ github.repository }}" \
--commit "${{ github.sha }}" \
--build-env "github_actions" \
--suppress_output

# Check the outcome of the scanner
if [ $? -ne 0 ]; then
echo "RL Scanner failed."
echo "scan-status=failed" >> $GITHUB_ENV
exit 1
else
echo "RL Scanner passed."
echo "scan-status=success" >> $GITHUB_ENV
fi

outputs:
scan-status:
description: 'The outcome of the scan process.'
value: ${{ env.scan-status }}
30 changes: 30 additions & 0 deletions .github/actions/rubygems-publish/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Publishes to RubyGems

#
# Publishes to RubyGems
#
# TODO: Remove once the common repo is public.
#

inputs:
rubygems-token:
required: true
ruby-version:
required: true

runs:
using: composite

steps:
- name: Configure Ruby
uses: ./.github/actions/setup
with:
ruby: ${{ inputs.ruby-version }}

- name: Publish to RubyGems
shell: bash
run: |
gem build *.gemspec
gem push *.gem
env:
GEM_HOST_API_KEY: ${{ inputs.rubygems-token }}
8 changes: 2 additions & 6 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ inputs:
description: The path to the bundle cache
required: false
default: vendor/bundle
bundler-cache:
description: Whether to use the bundler cache
required: false
default: true

runs:
using: composite
Expand All @@ -23,10 +19,10 @@ runs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ inputs.ruby }}
bundler-cache: ${{ inputs.bundle-cache }}
bundler-cache: false

- name: Install dependencies
run: bundle check || bundle install
run: bundle update || bundle install
shell: bash
env:
BUNDLE_PATH: ${{ inputs.bundle-path }}
36 changes: 36 additions & 0 deletions .github/actions/tag-exists/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Return a boolean indicating if a tag already exists for the repository

#
# Returns a simple true/false boolean indicating whether the tag exists or not.
#
# TODO: Remove once the common repo is public.
#

inputs:
token:
required: true
tag:
required: true

outputs:
exists:
description: 'Whether the tag exists or not'
value: ${{ steps.tag-exists.outputs.EXISTS }}

runs:
using: composite

steps:
- id: tag-exists
shell: bash
run: |
GET_API_URL="https://api.github.com/repos/${GITHUB_REPOSITORY}/git/ref/tags/${TAG_NAME}"
http_status_code=$(curl -LI $GET_API_URL -o /dev/null -w '%{http_code}\n' -s -H "Authorization: token ${GITHUB_TOKEN}")
if [ "$http_status_code" -ne "404" ] ; then
echo "EXISTS=true" >> $GITHUB_OUTPUT
else
echo "EXISTS=false" >> $GITHUB_OUTPUT
fi
env:
TAG_NAME: ${{ inputs.tag }}
GITHUB_TOKEN: ${{ inputs.token }}
54 changes: 25 additions & 29 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,33 @@
name: Publish Release
name: Create Release

on:
pull_request:
types:
- closed
workflow_dispatch:
inputs:
branch:
description: The branch to release from.
required: true
default: master

permissions:
contents: read
contents: write
id-token: write # This is required for requesting the JWT

jobs:
publish:
name: Publish to RubyGems
runs-on: ubuntu-latest
environment: release
rl-scanner:
uses: ./.github/workflows/rl-scanner.yml
with:
ruby-version: 3.2
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 }}

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.inputs.branch }}

- name: Configure Ruby
uses: ./.github/actions/setup
with:
ruby: 3.2

- name: Publish to RubyGems
run: |
gem build *.gemspec
gem push *.gem
env:
GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
release:
uses: ./.github/workflows/ruby-release.yml
needs: rl-scanner
with:
ruby-version: 3.2
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
rubygems-token: ${{ secrets.RUBYGEMS_AUTH_TOKEN }}
Loading
Loading