Skip to content

Merge pull request #3653 from SwissDataScienceCenter/release/v2.8.0 #52

Merge pull request #3653 from SwissDataScienceCenter/release/v2.8.0

Merge pull request #3653 from SwissDataScienceCenter/release/v2.8.0 #52

Workflow file for this run

name: Publish SHACL shape for current version
on:
push:
branches:
- master
paths:
- 'renku/data/shacl_shape.json'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- name: Install dependencies
uses: ./.github/actions/install-linux
with:
python-version: "3.10"
- name: Publish shape
run: |
git clone https://${{secrets.RENKUBOT_GITHUB_TOKEN}}@github.com/SwissDataScienceCenter/renku-ontology.git shacl_publish
cd shacl_publish
mkdir $(renku --version)
cp ../renku/data/shacl_shape.json ./$(renku --version)/
git config --local user.email "[email protected]"
git config --local user.name "RenkuBot"
git add $(renku --version)/shacl_shape.json
git commit -m "Publish SHACL shape for $(renku --version)"
git push