Skip to content

Commit 7576f52

Browse files
author
DevBot
committed
fix(alpha.7): harden trust boundaries and DSD baseline
1 parent 5a05daf commit 7576f52

22 files changed

Lines changed: 189 additions & 27 deletions

.github/actions/setup-deno-workspace/action.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ description: Install Deno, restore workspace dependencies, and materialize node_
44
runs:
55
using: composite
66
steps:
7-
- uses: denoland/setup-deno@v2
7+
# v2.0.5
8+
- uses: denoland/setup-deno@22d081ff2d3a40755e97629de92e3bcbfa7cf2ed
89
with:
910
deno-version-file: .dvmrc
1011
- name: Cache dependencies
11-
uses: actions/cache@v4
12+
# v4.2.3
13+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
1214
with:
1315
path: node_modules
1416
key: ${{ runner.os }}-deno-${{ hashFiles('.dvmrc') }}-${{ hashFiles('deno.lock') }}

.github/dependabot.yml

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

.github/workflows/autoflow-ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ jobs:
2020
runs-on: ubuntu-latest
2121
timeout-minutes: 30
2222
steps:
23-
- uses: actions/checkout@v4
23+
# v4.2.2
24+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
2425
- uses: ./.github/actions/setup-deno-workspace
2526
- name: Install Playwright browsers
2627
run: ./node_modules/.bin/playwright install --with-deps chromium

.github/workflows/autoflow-release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,15 @@ jobs:
3232
contents: write
3333
id-token: write
3434
steps:
35-
- uses: actions/checkout@v4
35+
# v4.2.2
36+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
3637
with:
3738
ref: main
3839
fetch-depth: 0
3940
token: ${{ secrets.GITHUB_TOKEN }}
4041
- uses: ./.github/actions/setup-deno-workspace
41-
- uses: actions/setup-node@v4
42+
# v4.4.0
43+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
4244
with:
4345
node-version: '22'
4446
registry-url: 'https://registry.npmjs.org'

.github/workflows/codeql.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,20 @@ jobs:
3434

3535
steps:
3636
- name: Checkout repository
37-
uses: actions/checkout@v4
37+
# v4.2.2
38+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
3839

3940
- name: Initialize CodeQL
40-
uses: github/codeql-action/init@v3
41+
# v3.28.17
42+
uses: github/codeql-action/init@99df26d4f13ea111d4ec1a7dddef6063f76b97e9
4143
with:
4244
languages: ${{ matrix.language }}
4345
# Deno project -?no build step needed for TS source analysis
4446
# CodeQL JS/TS extractor works on raw source files
4547
queries: security-extended,security-and-quality
4648

4749
- name: Perform CodeQL Analysis
48-
uses: github/codeql-action/analyze@v3
50+
# v3.28.17
51+
uses: github/codeql-action/analyze@99df26d4f13ea111d4ec1a7dddef6063f76b97e9
4952
with:
5053
category: '/language:${{matrix.language}}'

.github/workflows/nightly-stress.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ jobs:
1313
runs-on: ubuntu-latest
1414
timeout-minutes: 40
1515
steps:
16-
- uses: actions/checkout@v4
17-
- uses: denoland/setup-deno@v2
16+
# v4.2.2
17+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
18+
# v2.0.5
19+
- uses: denoland/setup-deno@22d081ff2d3a40755e97629de92e3bcbfa7cf2ed
1820
with:
1921
deno-version: v2.x
2022
- name: Run representative 30-minute workload
@@ -26,7 +28,8 @@ jobs:
2628
run: deno task stress:dogfood
2729
- name: Archive stress evidence
2830
if: always()
29-
uses: actions/upload-artifact@v4
31+
# v4.6.2
32+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
3033
with:
3134
name: mastodon-desktop-stress-report
3235
path: examples/deno-desktop-mastodon/stress-report.json

.github/workflows/opencode-review.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ jobs:
1212
pull-requests: write
1313
issues: write
1414
steps:
15-
- uses: actions/checkout@v4
15+
# v4.2.2
16+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
1617
with:
1718
persist-credentials: false
1819

CODE_OF_CONDUCT.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Code of Conduct
2+
3+
We expect contributors and maintainers to be respectful, constructive, and
4+
inclusive. Harassment, personal attacks, discrimination, and sharing private
5+
information without consent are not acceptable.
6+
7+
Report a conduct concern privately through
8+
[GitHub private vulnerability reporting](https://github.com/open-element/openelement/security/advisories/new)
9+
with the subject `Conduct concern`. Maintainers will acknowledge receipt within
10+
five business days, protect confidentiality where possible, and choose an
11+
appropriate response, from guidance to removal from project spaces.

CONTRIBUTING.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
Read first: `docs/governance/PROJECT_WORKFLOW.md`.
44

5+
Before opening a contribution, read [SECURITY.md](./SECURITY.md),
6+
[CODE_OF_CONDUCT.md](./CODE_OF_CONDUCT.md), [SUPPORT.md](./SUPPORT.md), and
7+
[MAINTAINERS.md](./MAINTAINERS.md). They define private reports, community
8+
expectations, support routing, and review ownership.
9+
510
openElement uses AutoWorkflow for project management. A change should identify
611
the version SOP, ADR impact, NextVersion package, implementation evidence, and
712
release-document impact before it is merged.

MAINTAINERS.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Maintainer ownership
2+
3+
Repository maintainers with write access own triage, review, merge, release,
4+
and security-response decisions. A change with architecture, public API,
5+
security, release, or dependency-policy impact requires maintainer approval
6+
under [the project workflow](./docs/governance/PROJECT_WORKFLOW.md).
7+
8+
The author of a pull request may not be its only approving reviewer. If no
9+
maintainer is available, leave the pull request open rather than bypassing the
10+
required review or release gates.

0 commit comments

Comments
 (0)