From 523f3a8971f0e18a8a2ac366d3b22e2aea63ba3a Mon Sep 17 00:00:00 2001 From: Theodoros Katzalis Date: Wed, 20 May 2026 11:32:06 +0300 Subject: [PATCH 1/3] add resqui pipeline --- .github/workflows/resqui.yml | 23 +++++++++++++++++++++++ configurations/basic.json | 18 ++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 .github/workflows/resqui.yml create mode 100644 configurations/basic.json diff --git a/.github/workflows/resqui.yml b/.github/workflows/resqui.yml new file mode 100644 index 0000000..366123d --- /dev/null +++ b/.github/workflows/resqui.yml @@ -0,0 +1,23 @@ +name: Run resqui + +on: + push: + pull_request: + +jobs: + resqui: + runs-on: self-hosted + environment: resqui + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Run resqui + uses: thodkatz/QualityPipelines@main + with: + config: configurations/basic.json + github_token: ${{ secrets.GITHUB_TOKEN }} + dashverse_token: ${{ secrets.DASHVERSE_TOKEN }} diff --git a/configurations/basic.json b/configurations/basic.json new file mode 100644 index 0000000..2e0d31a --- /dev/null +++ b/configurations/basic.json @@ -0,0 +1,18 @@ +{ + "indicators": [ + { "name": "archived_in_software_heritage", "plugin": "RSFC", "@id": "https://w3id.org/everse/i/indicators/archived_in_software_heritage" }, + { "name": "descriptive_metadata", "plugin": "RSFC", "@id": "https://w3id.org/everse/i/indicators/descriptive_metadata" }, + { "name": "software_has_citation", "plugin": "RSFC", "@id": "https://w3id.org/everse/i/indicators/software_has_citation" }, + { "name": "has_ci_tests", "plugin": "OpenSSFScorecard", "@id": "https://w3id.org/everse/i/indicators/has_ci-tests" }, + { "name": "software_has_license", "plugin": "RSFC", "@id": "https://w3id.org/everse/i/indicators/software_has_license" }, + { "name": "has_published_package", "plugin": "OpenSSFScorecard", "@id": "https://w3id.org/everse/i/indicators/has_published_package" }, + { "name": "has_releases", "plugin": "RSFC", "@id": "https://w3id.org/everse/i/indicators/has_releases" }, + { "name": "repository_workflows", "plugin": "RSFC", "@id": "https://w3id.org/everse/i/indicators/repository_workflows" }, + { "name": "requirements_specified", "plugin": "RSFC", "@id": "https://w3id.org/everse/i/indicators/requirements_specified" }, + { "name": "persistent_and_unique_identifier", "plugin": "RSFC", "@id": "https://w3id.org/everse/i/indicators/persistent_and_unique_identifier" }, + { "name": "software_has_documentation", "plugin": "RSFC", "@id": "https://w3id.org/everse/i/indicators/software_has_documentation" }, + { "name": "software_has_tests", "plugin": "RSFC", "@id": "https://w3id.org/everse/i/indicators/software_has_tests" }, + { "name": "version_control_use", "plugin": "RSFC", "@id": "https://w3id.org/everse/i/indicators/version_control_use" }, + { "name": "versioning_standards_use", "plugin": "RSFC", "@id": "https://w3id.org/everse/i/indicators/versioning_standards_use" } + ] +} From 71f862bf45cf0551699d51a9adeb781278252bd6 Mon Sep 17 00:00:00 2001 From: Theodoros Katzalis Date: Wed, 20 May 2026 11:54:28 +0300 Subject: [PATCH 2/3] remove leftover environment from github actions job --- .github/workflows/resqui.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/resqui.yml b/.github/workflows/resqui.yml index 366123d..71b6fa6 100644 --- a/.github/workflows/resqui.yml +++ b/.github/workflows/resqui.yml @@ -7,7 +7,6 @@ on: jobs: resqui: runs-on: self-hosted - environment: resqui steps: - name: Checkout repository From 444cdd2de27bc7fea325d6ef0ce5877c95259543 Mon Sep 17 00:00:00 2001 From: Theodoros Katzalis Date: Wed, 20 May 2026 12:28:00 +0300 Subject: [PATCH 3/3] use workflow dispatch since pr can't read secrets I use a dashverse_token secret to publish results but pr can't read these secrets --- .github/workflows/resqui.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/resqui.yml b/.github/workflows/resqui.yml index 71b6fa6..8911450 100644 --- a/.github/workflows/resqui.yml +++ b/.github/workflows/resqui.yml @@ -2,7 +2,7 @@ name: Run resqui on: push: - pull_request: + workflow_dispatch: jobs: resqui: