Integrate in GitHub Actions
resqui ships as a reusable GitHub Action. Add it to any repository to run quality assessments automatically on every push.
Prerequisites
-
Go to your repository → Settings → Actions → General and ensure "Allow all actions and reusable workflows" is selected.
-
Create an environment called resqui at
https://github.com/USER_OR_GROUP/PROJECT/settings/environments. -
Add a secret named
DASHVERSE_TOKENto that environment (obtain it from your DashVerse instance). If you do not have a DashVerse token the step will report a failure but the assessment itself still runs.
Minimal workflow
Create .github/workflows/resqui.yml in your repository:
name: Run resqui
on:
push:
jobs:
run-resqui:
runs-on: ubuntu-latest
environment: resqui
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run resqui action
uses: EVERSE-ResearchSoftware/QualityPipelines@main
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
dashverse_token: ${{ secrets.DASHVERSE_TOKEN }}
Using a custom configuration
Place a config file (e.g. .resqui.json) at the root of your repository and
pass its path to the action:
- name: Run resqui action
uses: EVERSE-ResearchSoftware/QualityPipelines@main
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
dashverse_token: ${{ secrets.DASHVERSE_TOKEN }}
config: .resqui.json
Running the CLI directly
If you prefer managing the installation yourself:
- name: Install resqui
run: pip install resqui
- name: Run resqui
run: resqui -t ${{ secrets.GITHUB_TOKEN }} -d ${{ secrets.DASHVERSE_TOKEN }}