Skip to content

Commit 6683e84

Browse files
authored
try storing vsa in a note (#38)
Signed-off-by: Tom Hennen <[email protected]>
1 parent e8f3a33 commit 6683e84

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

actions/vsa_creator/action.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ runs:
3838
echo "## Signed VSA" >> $GITHUB_STEP_SUMMARY
3939
cat ${{ github.workspace }}/metadata/signed_vsa.json >> $GITHUB_STEP_SUMMARY
4040
shell: bash
41+
- id: store_in_note
42+
run: |
43+
git config user.name "${{ github.actor }}"
44+
git config user.email "${{ github.actor }}@users.noreply.github.com"
45+
git fetch origin "refs/notes/*:refs/notes/*"
46+
git notes append -F ${{ github.workspace }}/metadata/signed_vsa.json
47+
git push origin "refs/notes/*"
4148
- uses: actions/upload-artifact@v4
4249
if: always()
4350
with:

0 commit comments

Comments
 (0)