github action that stores and retrieves data inside a git comment on a git commit.
- id: set
uses: boredland/action-commit-store@master
with:
storage-commit-sha: 13ef52e3a407d9828741990d69dded5a2b65f563
key: some
value: content
- id: update
uses: boredland/action-commit-store@master
with:
storage-commit-sha: 13ef52e3a407d9828741990d69dded5a2b65f563
key: some
value: different content
- id: get
uses: boredland/action-commit-store@master
with:
storage-commit-sha: 13ef52e3a407d9828741990d69dded5a2b65f563
key: some
this encrypts the whole store using a symmetrical cipher (aes gcm).
you'll need to provide a 32 characters long secret (ex.: openssl rand -hex 16
).
- id: update
uses: boredland/action-commit-store@master
with:
storage-commit-sha: 13ef52e3a407d9828741990d69dded5a2b65f563
encryption-secret: ${{ secrets.ENCRYPTION_SECRET }}
key: some
value: content
the action returns two values:
value
- the content you storedupdated
- 'true' or 'false' indicating if the step updated the valueencrypted
- 'true' or 'false' indicating if the step encrypted the store