Skip to content

Save to Software Heritage

Actions
Saves the repository to the Software Heritage Archive
v1.0.1
Latest
Star (9)

Software Heritage Save action

A GitHub Action that saves the GitHub repository it is being run on to the Software Heritage Archive.

Inputs

n/a - Action can only save repository that it is run on. Also prevents misuse.

Outputs

result

The result string from the call to the Software Heritage API. To track the actual save result, go to https://archive.softwareheritage.org/save/#requests and look for the name of your repository.

Example usage

uses: sdruskat/swh-save-action@v1.0.1

Note: It is suggested to use this action sparingly, so as to not overburden the Software Heritage API.
Perhaps run this on tags only?

on:
  push:
    tags:
    - '*'

Save to Software Heritage is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Saves the repository to the Software Heritage Archive
v1.0.1
Latest

Save to Software Heritage is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.