Skip to content

Commit

Permalink
Trigger new Software Heritage archival snapshot on new tags (#839)
Browse files Browse the repository at this point in the history
* create new workflow for metadata checks
* trigger new archival snapshot on Software Heritage
  • Loading branch information
luizirber committed Jan 15, 2020
1 parent 4bd286b commit 971594d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/metadata.yml
@@ -0,0 +1,18 @@
name: Metadata checks

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
archive:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v1

- name: Trigger new archival in software heritage on new tags
if: startsWith(github.ref, 'refs/tags/')
run: curl https://archive.softwareheritage.org/api/1/origin/save/git/url/https://github.com/dib-lab/sourmash.git/

0 comments on commit 971594d

Please sign in to comment.