There was an error while loading. Please reload this page.
2 parents 6310589 + c46033d commit 87d3332Copy full SHA for 87d3332
1 file changed
slsa_with_provenance/action.yml
@@ -175,6 +175,10 @@ runs:
175
cat ${{ github.workspace }}/metadata/signed_bundle.intoto.jsonl >> $GITHUB_STEP_SUMMARY
176
shell: bash
177
178
+ # Legacy note storage: only runs when sourcetool did NOT push the note
179
+ # itself (i.e. when the --push=note flag was not passed). Newer sourcetool
180
+ # versions store the git note natively, so running this too would append a
181
+ # duplicate attestation to refs/notes.
182
- run: |
183
git config user.name "${ACTOR}"
184
git config user.email "${ACTOR}@users.noreply.github.com"
@@ -183,6 +187,7 @@ runs:
187
git push origin "refs/notes/*"
188
185
189
name: store git note
190
+ if: steps.configure_push.outputs.push_flag == ''
186
191
env:
192
ACTOR: ${{ github.actor }}
193
0 commit comments