https://github.com/sdruskat/swh-save-action
A GitHub Action that saves a GitHub repository to the Software Heritage Archive
https://github.com/sdruskat/swh-save-action
Last synced: about 1 month ago
JSON representation
A GitHub Action that saves a GitHub repository to the Software Heritage Archive
- Host: GitHub
- URL: https://github.com/sdruskat/swh-save-action
- Owner: sdruskat
- License: mit
- Created: 2021-05-07T17:05:38.000Z (about 4 years ago)
- Default Branch: develop
- Last Pushed: 2022-05-24T11:27:07.000Z (almost 3 years ago)
- Last Synced: 2025-03-23T00:47:03.264Z (2 months ago)
- Language: Shell
- Size: 31.3 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Citation: CITATION.cff
Awesome Lists containing this project
README
# Software Heritage Save action
A GitHub Action that saves the GitHub repository it is being run on to the [Software Heritage Archive](https://www.softwareheritage.org/).
## 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 and look for the name of your repository.
## Example usage
```yml
uses: sdruskat/[email protected]
```
**Note:** It is suggested to use this action sparingly, so as to not overburden the [Software Heritage API]().
Perhaps run this on `tags` only?```yml
on:
push:
tags:
- '*'
```