Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://doi.org/10.5281/zenodo.18326924
21 January 2026, 13:01:56 UTC
  • Code
  • Branches (0)
  • Releases (1)
  • Visits
    • Branches
    • Releases
      • 1
      • 1
    • b9cc4cb
    • /
    • One-Health-VBD-Hub-vbdhub-ca5b691
    • /
    • .github
    • /
    • workflows
    • /
    • gitleaks.yml
    Raw File Download

    To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
    Select below a type of object currently browsed in order to display its associated SWHID and permalink.

    • content
    • directory
    • snapshot
    • release
    origin badgecontent badge
    swh:1:cnt:9da084f44f245b406fa48ee24cecce776ad507ac
    origin badgedirectory badge
    swh:1:dir:a725b59376ef8ec3bfbca31f153e07d0f6a05800
    origin badgesnapshot badge
    swh:1:snp:1f2afe6c07742496118cf43454120abf9b56ccb4
    origin badgerelease badge
    swh:1:rel:f448f6ec3ab02f381291ba73614adcab0796db2f

    This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
    Select below a type of object currently browsed in order to generate citations for them.

    • content
    • directory
    • snapshot
    • release
    (requires biblatex-software package)
    Generating citation ...
    (requires biblatex-software package)
    Generating citation ...
    (requires biblatex-software package)
    Generating citation ...
    (requires biblatex-software package)
    Generating citation ...
    gitleaks.yml
    name: gitleaks
    
    on:
      push:
      pull_request:
    
    jobs:
      gitleaks:
        runs-on: ubuntu-latest
        steps:
          - name: Checkout repository
            uses: actions/checkout@v4
            with:
              fetch-depth: 0
    
          - name: Install gitleaks
            run: |
              curl -sSL https://github.com/gitleaks/gitleaks/releases/download/v8.30.0/gitleaks_8.30.0_linux_x64.tar.gz -o gitleaks.tar.gz
              tar -xzf gitleaks.tar.gz gitleaks
              chmod +x gitleaks
    
          - name: Run gitleaks (full history)
            id: gitleaks
            continue-on-error: true
            env:
              GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }} # Only required for Organizations, not personal accounts.
            run: |
              set +e
              ./gitleaks detect --source . --log-opts="--all" --gitleaks-ignore-path .gitleaksignore --report-format json --report-path gitleaks.json
              echo "status=$?" >> "$GITHUB_OUTPUT"
    
          - name: Upload gitleaks reports
            uses: actions/upload-artifact@v4
            with:
              name: gitleaks-reports
              path: |
                gitleaks.json
    
          - name: Fail on leaks
            if: steps.gitleaks.outputs.status != '0'
            run: exit 1
    

    back to top

    Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
    The source code of Software Heritage itself is available on our development forge.
    The source code files archived by Software Heritage are available under their own copyright and licenses.
    Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API