Skip to content

Commit db97307

Browse files
committed
Merge remote-tracking branch 'upstream/main' into fix/empty-eid-input-attribution
Signed-off-by: Evan <evanyan@sign.global>
2 parents 5700b38 + 253b284 commit db97307

11 files changed

Lines changed: 122 additions & 56 deletions

.github/dependabot.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Dependabot configuration
2+
# =============================================================================
3+
# WHY THIS FILE EXISTS
4+
#
5+
# Every external GitHub Action in .github/workflows/ is pinned to a full-length
6+
# commit SHA (e.g. actions/checkout@11d5960...) rather than a mutable tag like
7+
# @v4. SHA pinning is tamper-evident: the upstream owner cannot silently change
8+
# the code our CI executes by re-pointing a tag. See the OpenSSF Scorecard
9+
# "Pinned-Dependencies" check for the rationale.
10+
#
11+
# The trade-off is that a frozen SHA never picks up upstream fixes on its own.
12+
# This config closes that gap: Dependabot watches the pinned SHAs and, when a
13+
# newer release exists, opens a pull request that bumps BOTH the SHA and the
14+
# trailing "# vX.Y.Z" version comment.
15+
#
16+
# HOW UPDATES ARRIVE
17+
#
18+
# Nothing is auto-merged. Each update lands as an explicit, reviewable PR:
19+
# actions/checkout@<old-sha> # v4.4.0 -> actions/checkout@<new-sha> # v4.5.0
20+
# A human reviews the diff and the upstream release notes, then merges. This
21+
# preserves the security property of pinning (no silent tag-swaps) while still
22+
# keeping the pins current. The "# vX.Y.Z" comments are what let Dependabot
23+
# report the precise version each PR moves to, so keep them on every pin.
24+
#
25+
# CAVEAT: DCO SIGN-OFF
26+
#
27+
# This repo requires DCO sign-off ("Signed-off-by") on every commit, but
28+
# Dependabot's commits are NOT signed off by default, so its PRs may fail the
29+
# DCO check. Resolve per PR (the DCO app lets a maintainer mark it off) or
30+
# configure a bot exception in the DCO app settings. This does not affect the
31+
# pins themselves — only the merge step.
32+
#
33+
# EXTENDING
34+
#
35+
# This config only covers the "github-actions" ecosystem. Go module updates are
36+
# intentionally out of scope: the fabric-smart-client dependency is bumped by
37+
# the Nightly FSC Update workflow, and adding a "gomod" ecosystem here would
38+
# open competing PRs against the same go.mod files. Add one only if that
39+
# workflow is retired.
40+
# =============================================================================
41+
42+
version: 2
43+
updates:
44+
- package-ecosystem: "github-actions"
45+
# "/" makes Dependabot scan every workflow under .github/workflows/ as well
46+
# as any composite action.yml in the repo.
47+
directory: "/"
48+
schedule:
49+
interval: "weekly"
50+
# Collapse routine bumps into a single PR to keep review noise low; a major
51+
# version bump (which may carry breaking changes) still gets its own PR.
52+
groups:
53+
github-actions:
54+
update-types:
55+
- "minor"
56+
- "patch"
57+
open-pull-requests-limit: 5
58+
# Match the repo's conventional-commit style.
59+
commit-message:
60+
prefix: "ci"
61+
labels:
62+
- "dependencies"

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323

2424
steps:
2525
- name: Checkout repository
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
2727

2828
- name: Initialize CodeQL
29-
uses: github/codeql-action/init@v4
29+
uses: github/codeql-action/init@ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd # v4.37.7
3030
with:
3131
languages: go
3232
build-mode: manual
@@ -38,6 +38,6 @@ jobs:
3838
cd cmd/node && go build -o /dev/null .
3939
4040
- name: Perform CodeQL Analysis
41-
uses: github/codeql-action/analyze@v4
41+
uses: github/codeql-action/analyze@ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd # v4.37.7
4242
with:
4343
category: "/language:go"

.github/workflows/docs.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,17 @@ jobs:
3636
runs-on: ubuntu-latest
3737
steps:
3838
- name: Checkout code
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
4040
with:
4141
fetch-depth: 0
4242

4343
- name: Set up Python
44-
uses: actions/setup-python@v5
44+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
4545
with:
4646
python-version: '3.12'
4747

4848
- name: Cache dependencies
49-
uses: actions/cache@v4
49+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
5050
with:
5151
path: ~/.cache/pip
5252
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
@@ -64,11 +64,11 @@ jobs:
6464
6565
- name: Setup Pages
6666
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
67-
uses: actions/configure-pages@v5
67+
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
6868

6969
- name: Upload artifact
7070
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
71-
uses: actions/upload-pages-artifact@v3
71+
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
7272
with:
7373
path: 'site'
7474

@@ -82,4 +82,4 @@ jobs:
8282
steps:
8383
- name: Deploy to GitHub Pages
8484
id: deployment
85-
uses: actions/deploy-pages@v4
85+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5

.github/workflows/md_links.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
name: runner / linkspector
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
1919

2020
- name: Run linkspector
21-
uses: umbrelladocs/action-linkspector@v1
21+
uses: umbrelladocs/action-linkspector@568ec8d29fa92b31fd9ea5381e155c51e922af83 # v1.5.5
2222
env:
2323
PUPPETEER_EXECUTABLE_PATH: /usr/bin/google-chrome
2424
with:

.github/workflows/nightly-fsc.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818

1919
steps:
2020
- name: Checkout code
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
2222

2323
- name: Set up Go
24-
uses: actions/setup-go@v5
24+
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
2525
with:
2626
go-version-file: "go.mod"
2727
cache-dependency-path: "**/*.sum"
@@ -47,10 +47,10 @@ jobs:
4747

4848
steps:
4949
- name: Checkout code
50-
uses: actions/checkout@v4
50+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
5151

5252
- name: Set up Go
53-
uses: actions/setup-go@v5
53+
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
5454
with:
5555
go-version-file: "go.mod"
5656
cache-dependency-path: "**/*.sum"
@@ -70,7 +70,7 @@ jobs:
7070
./ci/scripts/filter-coverage.sh profile.cov profile.cov
7171
7272
- name: Send coverage to Coveralls
73-
uses: coverallsapp/github-action@v2
73+
uses: coverallsapp/github-action@8d6379e14d29928660c4ba802d8e85393440b329 # v2.3.8
7474
with:
7575
github-token: ${{ secrets.GITHUB_TOKEN }}
7676
file: profile.cov
@@ -145,10 +145,10 @@ jobs:
145145

146146
steps:
147147
- name: Checkout code
148-
uses: actions/checkout@v4
148+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
149149

150150
- name: Set up Go
151-
uses: actions/setup-go@v5
151+
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
152152
with:
153153
go-version-file: "go.mod"
154154
cache-dependency-path: "**/*.sum"
@@ -178,7 +178,7 @@ jobs:
178178
./ci/scripts/filter-coverage.sh coverage.profile coverage.profile
179179
180180
- name: Send coverage to Coveralls
181-
uses: coverallsapp/github-action@v2
181+
uses: coverallsapp/github-action@8d6379e14d29928660c4ba802d8e85393440b329 # v2.3.8
182182
with:
183183
github-token: ${{ secrets.GITHUB_TOKEN }}
184184
file: coverage.profile
@@ -191,7 +191,7 @@ jobs:
191191
runs-on: ubuntu-latest
192192
steps:
193193
- name: Finish coverage report
194-
uses: coverallsapp/github-action@v2
194+
uses: coverallsapp/github-action@8d6379e14d29928660c4ba802d8e85393440b329 # v2.3.8
195195
with:
196196
github-token: ${{ secrets.GITHUB_TOKEN }}
197197
parallel-finished: true
@@ -203,10 +203,10 @@ jobs:
203203

204204
steps:
205205
- name: Checkout code
206-
uses: actions/checkout@v4
206+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
207207

208208
- name: Set up Go
209-
uses: actions/setup-go@v5
209+
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
210210
with:
211211
go-version-file: "go.mod"
212212
cache-dependency-path: "**/*.sum"
@@ -222,10 +222,10 @@ jobs:
222222

223223
steps:
224224
- name: Checkout code
225-
uses: actions/checkout@v4
225+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
226226

227227
- name: Set up Go
228-
uses: actions/setup-go@v5
228+
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
229229
with:
230230
go-version-file: "go.mod"
231231
cache-dependency-path: "**/*.sum"

.github/workflows/nightly-fuzz.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,16 +120,16 @@ jobs:
120120

121121
steps:
122122
- name: Checkout code
123-
uses: actions/checkout@v4
123+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
124124

125125
- name: Set up Go
126-
uses: actions/setup-go@v5
126+
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
127127
with:
128128
go-version-file: "go.mod"
129129
cache-dependency-path: "**/*.sum"
130130

131131
- name: Restore fuzz corpus cache
132-
uses: actions/cache@v4
132+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
133133
with:
134134
path: ~/.cache/go-build/fuzz
135135
key: fuzz-${{ matrix.name }}-${{ github.run_id }}
@@ -155,15 +155,15 @@ jobs:
155155
156156
- name: Upload crash artifacts
157157
if: failure()
158-
uses: actions/upload-artifact@v4
158+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
159159
with:
160160
name: fuzz-failure-${{ matrix.name }}
161161
path: fuzz-failure/
162162
retention-days: 30
163163

164164
- name: File or update GitHub issue
165165
if: failure()
166-
uses: actions/github-script@v7
166+
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
167167
with:
168168
script: |
169169
const name = '${{ matrix.name }}'

.github/workflows/protect-integration-test-types.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020

2121
steps:
2222
- name: Checkout code
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
2424

2525
- name: Set up Go
26-
uses: actions/setup-go@v5
26+
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
2727
with:
2828
go-version-file: "integration/go.mod"
2929
cache-dependency-path: "**/*.sum"

.github/workflows/scorecard.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ jobs:
3030

3131
steps:
3232
- name: "Checkout code"
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
3434
with:
3535
persist-credentials: false
3636

3737
- name: "Run analysis"
38-
uses: ossf/scorecard-action@v2.4.4
38+
uses: ossf/scorecard-action@2d1146689b8cda280b9bc96326124645441f03bc # v2.4.4
3939
with:
4040
results_file: results.sarif
4141
results_format: sarif
@@ -44,13 +44,13 @@ jobs:
4444
publish_results: true
4545

4646
- name: "Upload artifact"
47-
uses: actions/upload-artifact@v4
47+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
4848
with:
4949
name: SARIF file
5050
path: results.sarif
5151
retention-days: 5
5252

5353
- name: "Upload to code-scanning"
54-
uses: github/codeql-action/upload-sarif@v4
54+
uses: github/codeql-action/upload-sarif@ff2f1c621b7f889edc0d3c761ac2e6a3f8cdb0dd # v4.37.7
5555
with:
5656
sarif_file: results.sarif

0 commit comments

Comments
 (0)