Skip to content

Commit

Permalink
Merge pull request #27 from GenomicDataInfrastructure/17-gdi-ckanext-…
Browse files Browse the repository at this point in the history
…fairdatapoint-align-cicd-pipeline-with-what-we-have-in-oss-project-template

ci: Align CI/CD pipeline with what we have in oss-project-template.
  • Loading branch information
hcvdwerf authored Jun 20, 2024
2 parents 73890dc + a6af1e9 commit 276c4ba
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# SPDX-FileCopyrightText: 2024 Stichting Health-RI
#
# SPDX-License-Identifier: Apache-2.0

name: Run main workflow on

on:
workflow_run:
workflows: ["Run Tests"]
branches: [main]
types:
- completed

jobs:
ort:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oss-review-toolkit/ort-ci-github-action@7f23c1f8d169dad430e41df223d3b8409c7a156e
with:
allow-dynamic-versions: "true"
fail-on: "issues"
run: "cache-dependencies,cache-scan-results,labels,analyzer,evaluator,advisor,reporter,upload-results"
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# SPDX-FileCopyrightText: 2024 Stichting Health-RI
#
# SPDX-License-Identifier: Apache-2.0

name: Publish Release

on:
push:
tags:
- "v*"

jobs:
ort:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oss-review-toolkit/ort-ci-github-action@7f23c1f8d169dad430e41df223d3b8409c7a156e
with:
allow-dynamic-versions: "true"
fail-on: "issues"
run: "cache-dependencies,cache-scan-results,labels,analyzer,evaluator,advisor,reporter,upload-results"

0 comments on commit 276c4ba

Please sign in to comment.