Skip to content

Commit a5de313

Browse files
author
Delega Bot
committed
Pin workflows and add security policy
1 parent b354aa1 commit a5de313

4 files changed

Lines changed: 40 additions & 7 deletions

File tree

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: pip
4+
directory: /
5+
schedule:
6+
interval: weekly
7+
open-pull-requests-limit: 5
8+
9+
- package-ecosystem: github-actions
10+
directory: /
11+
schedule:
12+
interval: weekly
13+
open-pull-requests-limit: 5

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
matrix:
1414
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1717

18-
- uses: actions/setup-python@v5
18+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
1919
with:
2020
python-version: ${{ matrix.python-version }}
2121

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
matrix:
1717
python-version: ['3.9', '3.11', '3.13']
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2020

21-
- uses: actions/setup-python@v5
21+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
2222
with:
2323
python-version: ${{ matrix.python-version }}
2424

@@ -37,11 +37,11 @@ jobs:
3737
contents: write
3838
id-token: write
3939
steps:
40-
- uses: actions/checkout@v4
40+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
4141
with:
4242
fetch-depth: 0
4343

44-
- uses: actions/setup-python@v5
44+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
4545
with:
4646
python-version: '3.12'
4747

@@ -61,7 +61,7 @@ jobs:
6161
run: python -m build
6262

6363
- name: Publish to PyPI (OIDC trusted publishing)
64-
uses: pypa/gh-action-pypi-publish@release/v1
64+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # release/v1
6565
with:
6666
attestations: true
6767

SECURITY.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Security Policy
2+
3+
## Reporting a Vulnerability
4+
5+
Do not open a public GitHub issue for security-sensitive reports affecting the Python SDK.
6+
7+
Email `support@delega.dev` with:
8+
9+
- A clear description of the issue
10+
- Steps to reproduce it
11+
- The affected version or commit if known
12+
- Any logs, screenshots, or proof-of-concept material needed to validate the report
13+
14+
Use a subject line like `Security report: delega-python`.
15+
16+
We will acknowledge receipt and continue triage privately.
17+
18+
## Supported Versions
19+
20+
Security fixes are applied to the latest published package and the current `main` branch.

0 commit comments

Comments
 (0)