Skip to content

Commit ad6759a

Browse files
committed
Rename source to dfetch-source
1 parent e8fbc47 commit ad6759a

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
env:
119119
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
120120
run: |
121-
gh attestation verify source.tar.gz \
121+
gh attestation verify dfetch-source.tar.gz \
122122
--repo "${{ github.repository }}" \
123123
--predicate-type https://slsa.dev/provenance/v1 \
124124
--cert-identity-regex "^https://github\.com/${{ github.repository }}/\.github/workflows/source-provenance\.yml@refs/(heads/main|tags/[0-9]+\.[0-9]+\.[0-9]+)$" \

.github/workflows/source-provenance.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,18 @@ jobs:
3838
persist-credentials: false
3939

4040
- name: Generate source archive
41-
run: git archive HEAD --format=tar.gz -o source.tar.gz
41+
run: git archive HEAD --format=tar.gz -o dfetch-source.tar.gz
4242

4343
- name: Attest source provenance
4444
uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0
4545
with:
46-
subject-path: source.tar.gz
46+
subject-path: dfetch-source.tar.gz
4747

4848
- name: Verify source provenance
4949
env:
5050
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5151
run: |
52-
gh attestation verify source.tar.gz \
52+
gh attestation verify dfetch-source.tar.gz \
5353
--repo "${{ github.repository }}" \
5454
--predicate-type https://slsa.dev/provenance/v1 \
5555
--cert-identity-regex "^https://github\.com/${{ github.repository }}/\.github/workflows/source-provenance\.yml@refs/(heads/main|tags/[0-9]+\.[0-9]+\.[0-9]+)$" \
@@ -59,4 +59,4 @@ jobs:
5959
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
6060
with:
6161
name: source-archive
62-
path: source.tar.gz
62+
path: dfetch-source.tar.gz

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,15 +138,15 @@ jobs:
138138
- name: Verify subject artifact exists
139139
if: steps.download-source.outcome == 'success'
140140
run: |
141-
if [ ! -f source.tar.gz ]; then
142-
echo "Error: source.tar.gz not found after artifact download" >&2
141+
if [ ! -f dfetch-source.tar.gz ]; then
142+
echo "Error: dfetch-source.tar.gz not found after artifact download" >&2
143143
exit 1
144144
fi
145145
146146
- name: Attest test results
147147
if: steps.download-source.outcome == 'success'
148148
uses: actions/attest@59d89421af93a897026c735860bf21b6eb4f7b26 # v4.1.0
149149
with:
150-
subject-path: source.tar.gz
150+
subject-path: dfetch-source.tar.gz
151151
predicate-type: https://in-toto.io/attestation/test-result/v0.1
152152
predicate-path: test-result-predicate.json

doc/howto/verify-integrity.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ from the ``main`` branch.
174174
**Source archive — verify build provenance and test results:**
175175

176176
The source archive has two attestations and is produced for every release and
177-
every ``main``-branch commit. Download ``source.tar.gz`` from the *Artifacts*
177+
every ``main``-branch commit. Download ``dfetch-source.tar.gz`` from the *Artifacts*
178178
section of the relevant CI run, then verify each in turn. Use
179179
``@refs/tags/v<version>`` for a release or ``@refs/heads/main`` for a
180180
development build.
@@ -184,7 +184,7 @@ workflow from the tagged commit):
184184

185185
.. code-block:: bash
186186
187-
$ gh attestation verify source.tar.gz \
187+
$ gh attestation verify dfetch-source.tar.gz \
188188
--repo dfetch-org/dfetch \
189189
--predicate-type https://slsa.dev/provenance/v1 \
190190
--cert-identity https://github.com/dfetch-org/dfetch/.github/workflows/source-provenance.yml@refs/tags/v<version> \
@@ -195,7 +195,7 @@ any binary was produced):
195195

196196
.. code-block:: bash
197197
198-
$ gh attestation verify source.tar.gz \
198+
$ gh attestation verify dfetch-source.tar.gz \
199199
--repo dfetch-org/dfetch \
200200
--predicate-type https://in-toto.io/attestation/test-result/v0.1 \
201201
--cert-identity https://github.com/dfetch-org/dfetch/.github/workflows/test.yml@refs/tags/v<version> \

0 commit comments

Comments
 (0)