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
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,23 @@ body:
Thanks for taking the time to fill out this bug report!

Please note that we use GitHub issues exclusively for bug reports and feature requests. For support requests, please use our other support channels to get help.

> [!IMPORTANT]
> Our [AI policy](https://github.com/seerr-team/seerr/blob/develop/CONTRIBUTING.md#issues) applies to issues too. Write this issue yourself and disclose any AI use below. Issues that read as unreviewed AI output will be closed and locked.
- type: textarea
id: description
attributes:
label: Description
description: Please provide a clear and concise description of the bug or issue.
validations:
required: true
- type: textarea
id: ai-disclosure
attributes:
label: AI Disclosure
description: How did you use AI to find or write up this issue, if at all? Write "None" if you didn't.
validations:
required: true
- type: input
id: version
attributes:
Expand Down Expand Up @@ -100,6 +110,13 @@ body:
options:
- label: Yes, I have searched existing issues.
required: true
- type: checkboxes
id: ai-policy
attributes:
label: AI Policy
options:
- label: I have read the [AI policy](https://github.com/seerr-team/seerr/blob/develop/CONTRIBUTING.md#ai-assistance-notice) and this issue follows it.
required: true
- type: checkboxes
id: terms
attributes:
Expand Down
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ body:

Use this template for documentation issues (typos, unclear steps, missing info, outdated screenshots).
For app bugs or feature ideas, please use the other templates.

> [!IMPORTANT]
> Our [AI policy](https://github.com/seerr-team/seerr/blob/develop/CONTRIBUTING.md#issues) applies to issues too. Write this issue yourself and disclose any AI use below. Issues that read as unreviewed AI output will be closed and locked.
- type: input
id: doc-location
attributes:
Expand Down Expand Up @@ -38,6 +41,13 @@ body:
description: Describe the issue in the docs.
validations:
required: true
- type: textarea
id: ai-disclosure
attributes:
label: AI Disclosure
description: How did you use AI to find or write up this issue, if at all? Write "None" if you didn't.
validations:
required: true
- type: textarea
id: suggested-fix
attributes:
Expand All @@ -53,6 +63,13 @@ body:
options:
- label: Yes, I have searched existing issues.
required: true
- type: checkboxes
id: ai-policy
attributes:
label: AI Policy
options:
- label: I have read the [AI policy](https://github.com/seerr-team/seerr/blob/develop/CONTRIBUTING.md#ai-assistance-notice) and this issue follows it.
required: true
- type: checkboxes
id: terms
attributes:
Expand Down
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/enhancement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,23 @@ body:
Thanks for taking the time to fill out this feature request!

Please note that we use GitHub issues exclusively for bug reports and feature requests. For support requests, please use our other support channels to get help.

> [!IMPORTANT]
> Our [AI policy](https://github.com/seerr-team/seerr/blob/develop/CONTRIBUTING.md#issues) applies to issues too. Write this issue yourself and disclose any AI use below. Issues that read as unreviewed AI output will be closed and locked.
- type: textarea
id: description
attributes:
label: Description
description: Is your feature request related to a problem? If so, please provide a clear and concise description of the problem; e.g., "I'm always frustrated when [...]."
validations:
required: true
- type: textarea
id: ai-disclosure
attributes:
label: AI Disclosure
description: How did you use AI to find or write up this issue, if at all? Write "None" if you didn't.
validations:
required: true
- type: textarea
id: desired-behavior
attributes:
Expand All @@ -36,6 +46,13 @@ body:
options:
- label: Yes, I have searched existing issues.
required: true
- type: checkboxes
id: ai-policy
attributes:
label: AI Policy
options:
- label: I have read the [AI policy](https://github.com/seerr-team/seerr/blob/develop/CONTRIBUTING.md#ai-assistance-notice) and this issue follows it.
required: true
- type: checkboxes
id: terms
attributes:
Expand Down
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ body:
value: |
Maintainers / contributors: use this for internal tasks (CI, workflows, tooling, refactors).
If you're reporting a user-facing bug or requesting a feature, use the other templates.

> [!IMPORTANT]
> Our [AI policy](https://github.com/seerr-team/seerr/blob/develop/CONTRIBUTING.md#issues) applies to issues too. Write this issue yourself and disclose any AI use below. Issues that read as unreviewed AI output will be closed and locked.
- type: dropdown
id: area
attributes:
Expand All @@ -30,6 +33,13 @@ body:
description: What needs doing and why?
validations:
required: true
- type: textarea
id: ai-disclosure
attributes:
label: AI Disclosure
description: How did you use AI to find or write up this issue, if at all? Write "None" if you didn't.
validations:
required: true
- type: textarea
id: acceptance
attributes:
Expand All @@ -55,6 +65,13 @@ body:
options:
- label: Yes, I have searched existing issues.
required: true
- type: checkboxes
id: ai-policy
attributes:
label: AI Policy
options:
- label: I have read the [AI policy](https://github.com/seerr-team/seerr/blob/develop/CONTRIBUTING.md#ai-assistance-notice) and this issue follows it.
required: true
- type: checkboxes
id: terms
attributes:
Expand Down
6 changes: 5 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@

- Fixes #XXXX

## AI Disclosure

<!--- How did you use AI for this PR, if at all? Write "None" if you didn't. -->
<!--- See our policy: https://github.com/seerr-team/seerr/blob/develop/CONTRIBUTING.md#disclosure-requirements -->

## How Has This Been Tested?

<!--- Please describe in detail how you tested your changes. -->
Expand All @@ -25,7 +30,6 @@
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->

- [ ] I have read and followed the contribution [guidelines](https://github.com/seerr-team/seerr/blob/develop/CONTRIBUTING.md).
- [ ] Disclosed any use of AI (see our [policy](https://github.com/seerr-team/seerr/blob/develop/CONTRIBUTING.md#ai-assistance-notice))
- [ ] I have updated the documentation accordingly.
- [ ] All new and existing tests passed.
- [ ] Successful build `pnpm build`
Expand Down
18 changes: 18 additions & 0 deletions .github/cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,20 @@ body = """
## [unreleased]
{% endif %}\

{%- set embargoed = commits | filter(attribute="group", value="<!-- embargoed -->") | length %}
{%- if version and embargoed > 0 %}
{%- set one = embargoed == 1 %}
{%- set disclosure = timestamp + 3 * 86400 %}
> [!WARNING]
> **This release fixes {% if one %}a security vulnerability{% else %}{{ embargoed }} security vulnerabilities{% endif %}. All users should update to {{ version | trim_start_matches(pat="v") }} as soon as possible.**
>
> To give everyone time to upgrade, full details will be published as {% if one %}a security advisory{% else %}security advisories{% endif %} on **{{ disclosure | date(format="%B %-d, %Y") }}**. Once published, the details will be public, so update now rather than waiting for the {% if one %}advisory{% else %}advisories{% endif %}.
>
> These release notes will be updated with {% if one %}a link to the advisory once it's{% else %}links to the advisories once they're{% endif %} published.
{% endif %}

{%- for group, commits in commits | group_by(attribute="group") %}
{%- if group == "<!-- embargoed -->" %}{% continue %}{% endif %}
### {{ group | striptags | trim | upper_first }}
{%- for commit in commits | filter(attribute="scope") | sort(attribute="scope") %}
{{ self::print_commit(commit=commit) }}
Expand Down Expand Up @@ -63,13 +76,18 @@ filter_unconventional = true
split_commits = false
filter_commits = true
commit_preprocessors = [
{ pattern = '(?ms)\A.*^Disclosure: embargoed$.*', replace = "security(embargoed): undisclosed fix" },
{ pattern = '(?s)^Merge commit from fork.*?(GHSA(?:-[0-9a-z]{4}){3}).*', replace = "security: Patch [$1](https://github.com/seerr-team/seerr/security/advisories/$1)" },
{ pattern = '(?s)^Merge commit from fork.*', replace = "security(embargoed): undisclosed fix" },
{ pattern = '.*\[skip ci\].*', replace = "" },
{ pattern = '.*\[ci skip\].*', replace = "" },
]
commit_parsers = [
{ message = '.*\(helm\).*', skip = true },
{ message = '^chore\(release\): prepare for', skip = true },
{ message = '^chore\(deps.*\)', skip = true },
{ message = '^security\(embargoed\)', group = "<!-- embargoed -->" },
{ message = '^security', group = "<!-- 0 -->🛡️ Security" },
{ body = ".*security", group = "<!-- 0 -->🛡️ Security" },
{ message = "^feat", group = "<!-- 1 -->🚀 Features" },
{ message = "^fix", group = "<!-- 2 -->🐛 Bug Fixes" },
Expand Down
1 change: 1 addition & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: [
'config:recommended',
'mergeConfidence:all-badges',
':dependencyDashboard',
':timezone(UTC)',
'group:allNonMajor',
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/actions.lock
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,12 @@ workflows:
- 'actions/checkout@v7.0.1'
- 'actions/create-github-app-token@v3.3.0'
- 'helm/chart-testing-action@v2.9.0'
'.github/workflows/seerr-labeller.yml': []
'.github/workflows/scorecard.yml':
- 'actions/checkout@v7.0.1'
- 'github/codeql-action@v4.39.3'
- 'ossf/scorecard-action@v2.6.0'
'.github/workflows/seerr-labeller.yml':
- 'actions/github-script@v9.0.0'
'.github/workflows/stale.yml':
- 'actions/stale@v11.0.0'
'.github/workflows/test-docs.yml':
Expand Down Expand Up @@ -277,6 +282,11 @@ dependencies:
commit: 'sha1-a9a95522b26fe6403f7bb24031f21fb573d0f5ff'
owner_id: 24392180
repo_id: 377964066
'ossf/scorecard-action@v2.6.0':
ref: 'v2.6.0'
commit: 'sha1-23f22cd43608bae7a1f1fa2603d7314dee9538a5'
owner_id: 67707773
repo_id: 421101922
'pnpm/action-setup@v6.1.1':
ref: 'v6.1.1'
commit: 'sha1-73e46992e05b19abd31f2f3c20e0e7370d762115'
Expand Down
16 changes: 15 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,13 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4.4.1

- name: Log in to Docker Hardened Images
uses: docker/login-action@v4.8.0
with:
registry: dhi.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN_RO }}

- name: Commit timestamp
id: ts
run: echo "TIMESTAMP=$(git log -1 --pretty=%ct)" >> "$GITHUB_OUTPUT"
Expand Down Expand Up @@ -241,7 +248,14 @@ jobs:
uses: docker/login-action@v4.8.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
password: ${{ secrets.DOCKER_TOKEN_RW }}

- name: Log in to Docker Hardened Images
uses: docker/login-action@v4.8.0
with:
registry: dhi.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN_RO }}

- name: Log in to GitHub Container Registry
uses: docker/login-action@v4.8.0
Expand Down
16 changes: 15 additions & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ jobs:
echo "version=${VER}" >> "$GITHUB_OUTPUT"
echo "Building preview version: ${VER}"

- name: Log in to Docker Hardened Images
uses: docker/login-action@v4.8.0
with:
registry: dhi.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN_RO }}

- name: Commit timestamp
id: ts
run: echo "TIMESTAMP=$(git log -1 --pretty=%ct)" >> "$GITHUB_OUTPUT"
Expand Down Expand Up @@ -102,7 +109,14 @@ jobs:
uses: docker/login-action@v4.8.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
password: ${{ secrets.DOCKER_TOKEN_RW }}

- name: Log in to Docker Hardened Images
uses: docker/login-action@v4.8.0
with:
registry: dhi.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN_RO }}

- name: Log in to GitHub Container Registry
uses: docker/login-action@v4.8.0
Expand Down
18 changes: 16 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,13 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4.4.1

- name: Log in to Docker Hardened Images
uses: docker/login-action@v4.8.0
with:
registry: dhi.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN_RO }}

- name: Commit timestamp
id: ts
run: echo "TIMESTAMP=$(git log -1 --pretty=%ct)" >> "$GITHUB_OUTPUT"
Expand Down Expand Up @@ -128,7 +135,14 @@ jobs:
uses: docker/login-action@v4.8.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
password: ${{ secrets.DOCKER_TOKEN_RW }}

- name: Log in to Docker Hardened Images
uses: docker/login-action@v4.8.0
with:
registry: dhi.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN_RO }}

- name: Log in to GitHub Container Registry
uses: docker/login-action@v4.8.0
Expand Down Expand Up @@ -222,7 +236,7 @@ jobs:
uses: docker/login-action@v4.8.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
password: ${{ secrets.DOCKER_TOKEN_RW }}

- name: Log in to GitHub Container Registry
uses: docker/login-action@v4.8.0
Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: Scorecard supply-chain security

on:
schedule:
- cron: '0 7 * * *'
push:
branches:
- develop

permissions: {}

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
analysis:
name: Scorecard analysis
runs-on: ubuntu-26.04
permissions:
security-events: write
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v7.0.1
with:
persist-credentials: false

- name: Run analysis
uses: ossf/scorecard-action@v2.6.0
with:
results_file: results.sarif
results_format: sarif
publish_results: true

- name: Upload to code-scanning
uses: github/codeql-action/upload-sarif@v4.39.3
with:
sarif_file: results.sarif
Loading