Update SPARQL Endpoint Service Status #8017
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update SPARQL Endpoint Service Status | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '40 * * * *' # every hour | |
jobs: | |
update-sparql-endpoint-status: | |
runs-on: ubuntu-latest | |
name: Update SPARQL Endpoint Service Status | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: endpoint_status | |
- name: Run service check | |
working-directory: ./scripts/endpoint_status | |
run: ./script.sh | |
- name: Add & Commit | |
uses: EndBug/[email protected] | |
with: | |
add: 'catalogs/catalog.latest-status.ttl' | |
message: 'Automatic status update' | |
author_name: 'Pierre Maillot' | |
author_email: '[email protected]' | |
- name: Push changes | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: endpoint_status | |