Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 4 additions & 0 deletions .credo.exs
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2023 Erlang Ecosystem Foundation
#
# SPDX-License-Identifier: Apache-2.0

# This file contains the configuration for Credo and you are probably reading
# this after creating it with `mix credo.gen.config`.
#
Expand Down
5 changes: 5 additions & 0 deletions .formatter.exs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2023 Erlang Ecosystem Foundation
# SPDX-FileCopyrightText: 2025 Matt Enlow
#
# SPDX-License-Identifier: Apache-2.0

# Used by "mix format"
[
plugins: [Styler],
Expand Down
6 changes: 6 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2023 Erlang Ecosystem Foundation

SPDX-License-Identifier: Apache-2.0
-->

# Contributing to `oidcc`

## Welcome!
Expand Down
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2023 Erlang Ecosystem Foundation
#
# SPDX-License-Identifier: Apache-2.0

name: 🐞 Bug Report
description: Something is broken?
labels: ["bug"]
Expand Down
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/FEATURE.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2023 Erlang Ecosystem Foundation
#
# SPDX-License-Identifier: Apache-2.0

name: 🎉 Feature Request
description: You have a neat idea that should be implemented?
labels: ["enhancement"]
Expand Down
3 changes: 3 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2023 Erlang Ecosystem Foundation

SPDX-License-Identifier: Apache-2.0
3 changes: 3 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/FIX.md.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2023 Erlang Ecosystem Foundation

SPDX-License-Identifier: Apache-2.0
3 changes: 3 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/IMPROVEMENT.md.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2023 Erlang Ecosystem Foundation

SPDX-License-Identifier: Apache-2.0
3 changes: 3 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/NEW_FEATURE.md.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2023 Erlang Ecosystem Foundation

SPDX-License-Identifier: Apache-2.0
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2023 Erlang Ecosystem Foundation
#
# SPDX-License-Identifier: Apache-2.0

version: 2
updates:
- package-ecosystem: "github-actions"
Expand Down
3 changes: 3 additions & 0 deletions .github/renovate.json.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2026 Erlang Ecosystem Foundation

SPDX-License-Identifier: Apache-2.0
4 changes: 4 additions & 0 deletions .github/scorecard.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Erlang Ecosystem Foundation
#
# SPDX-License-Identifier: Apache-2.0

annotations:
- checks:
- fuzzing
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/branch_main.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2023 Erlang Ecosystem Foundation
#
# SPDX-License-Identifier: Apache-2.0

on:
push:
branches:
Expand All @@ -18,6 +22,18 @@ jobs:

uses: $/.github/workflows/part_test.yml

license:
name: "License"

permissions:
id-token: write
contents: read
attestations: write

uses: $/.github/workflows/part_license.yml
with:
attest: false

docs:
name: "Docs"

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Erlang Ecosystem Foundation
#
# SPDX-License-Identifier: Apache-2.0

name: "CodeQL Advanced"

on:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/part_dependency_submission.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 Erlang Ecosystem Foundation
#
# SPDX-License-Identifier: Apache-2.0

on:
workflow_call: {}

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/part_docs.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2023 Erlang Ecosystem Foundation
#
# SPDX-License-Identifier: Apache-2.0

on:
workflow_call:
inputs:
Expand Down
78 changes: 78 additions & 0 deletions .github/workflows/part_license.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# SPDX-FileCopyrightText: 2026 Erlang Ecosystem Foundation
#
# SPDX-License-Identifier: Apache-2.0

on:
workflow_call:
inputs:
attest:
description: "Attest the SBoM"
default: true
type: boolean

name: "License Compliance"

permissions:
contents: read

jobs:
lint:
name: "Check REUSE License Compliance"

runs-on: ubuntu-latest

steps:
- name: Harden Runner
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2.22.3
with:
egress-policy: audit

- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- name: REUSE Compliance Check
uses: fsfe/reuse-action@676e2d560c9a403aa252096d99fcab3e1132b0f5 # v6.0.0

spdx:
name: "Generate SBoM"

runs-on: ubuntu-latest

permissions:
id-token: write
contents: read
attestations: write

steps:
- name: Harden Runner
uses: step-security/harden-runner@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2.22.3
with:
egress-policy: audit

- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- name: REUSE Compliance Check
uses: fsfe/reuse-action@676e2d560c9a403aa252096d99fcab3e1132b0f5 # v6.0.0
with:
args: spdx --output sbom.spdx --creator-person "GitHub Action" --creator-organization "Erlang Ecosystem Foundation"

- name: "Attest provenance"
uses: actions/attest-build-provenance@4d101475d8b20a2381f78447822ac1eab6504dd8 # v4.2.2
id: attest-provenance
if: "${{ inputs.attest }}"
with:
subject-path: 'sbom.spdx'

- name: "Copy provenance"
if: "${{ inputs.attest }}"
run: cp "$ATTESTATION" sbom.spdx.sigstore
env:
ATTESTATION: "${{ steps.attest-provenance.outputs.bundle-path }}"

- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: sbom
path: sbom.spdx*
4 changes: 4 additions & 0 deletions .github/workflows/part_publish.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2023 Erlang Ecosystem Foundation
#
# SPDX-License-Identifier: Apache-2.0

on:
workflow_call:
inputs:
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/part_release.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2023 Erlang Ecosystem Foundation
#
# SPDX-License-Identifier: Apache-2.0

on:
workflow_call:
inputs:
Expand Down Expand Up @@ -37,6 +41,12 @@ jobs:
name: docs
path: .

- name: "Download SBoM Artifact"
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: sbom
path: .

- name: Create release
env:
GITHUB_TOKEN: ${{ github.token }}
Expand All @@ -48,4 +58,4 @@ jobs:
--generate-notes
${{ !inputs.stable && '--prerelease' || '' }}
"$RELEASE_NAME"
docs.tar.gz*
docs.tar.gz* sbom.spdx*
4 changes: 4 additions & 0 deletions .github/workflows/part_test.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2023 Erlang Ecosystem Foundation
#
# SPDX-License-Identifier: Apache-2.0

on:
workflow_call: {}

Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2023 Erlang Ecosystem Foundation
#
# SPDX-License-Identifier: Apache-2.0

on:
pull_request:
branches:
Expand All @@ -19,6 +23,18 @@ jobs:

uses: $/.github/workflows/part_test.yml

license:
name: "License"

permissions:
id-token: write
contents: read
attestations: write

uses: $/.github/workflows/part_license.yml
with:
attest: false

docs:
name: "Docs"

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 Erlang Ecosystem Foundation
#
# SPDX-License-Identifier: Apache-2.0

# This workflow uses actions that are not certified by GitHub. They are provided
# by a third-party and are governed by separate terms of service, privacy
# policy, and support documentation.
Expand Down
16 changes: 15 additions & 1 deletion .github/workflows/tag-beta.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2023 Erlang Ecosystem Foundation
#
# SPDX-License-Identifier: Apache-2.0

on:
push:
tags:
Expand All @@ -21,6 +25,16 @@ jobs:

uses: $/.github/workflows/part_docs.yml

license:
name: "License"

permissions:
id-token: write
contents: read
attestations: write

uses: $/.github/workflows/part_license.yml

publish:
name: "Publish"

Expand All @@ -35,7 +49,7 @@ jobs:
release:
name: "Release"

needs: ["docs"]
needs: ["docs", "license"]

permissions:
contents: write
Expand Down
16 changes: 15 additions & 1 deletion .github/workflows/tag-stable.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2023 Erlang Ecosystem Foundation
#
# SPDX-License-Identifier: Apache-2.0

on:
push:
tags:
Expand All @@ -19,6 +23,16 @@ jobs:

uses: $/.github/workflows/part_docs.yml

license:
name: "License"

permissions:
id-token: write
contents: read
attestations: write

uses: $/.github/workflows/part_license.yml

publish:
name: "Publish"

Expand All @@ -33,7 +47,7 @@ jobs:
release:
name: "Release"

needs: ["docs"]
needs: ["docs", "license"]

permissions:
contents: write
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2023 Erlang Ecosystem Foundation
#
# SPDX-License-Identifier: Apache-2.0

# The directory Mix will write compiled artifacts to.
/_build/

Expand Down
3 changes: 3 additions & 0 deletions .tool-versions.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: NONE

SPDX-License-Identifier: CC0-1.0
Loading
Loading