Skip to content

Commit

Permalink
Create workflow for certification on bloxberg.org
Browse files Browse the repository at this point in the history
  • Loading branch information
felixriehm authored Mar 6, 2024
1 parent 0a3ebed commit 85b0b97
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Certification

on:
pull_request:
push:
branches:
- development
- staging
- production

permissions:
contents: read

jobs:
certify-code:
name: Certify code on bloxberg.org
runs-on: ubuntu-latest

steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4

- name: Bloxberg certifier
id: bloxberg-certifier
uses: bloxberg-org/[email protected]
with:
authorName: Max Planck Digital Library
researchTitle: MPDL hatnote branch:${{ github.GITHUB_BASE_REF }} commit:${{ github.GITHUB_SHA }}

- name: Print Output
id: output
run: echo -e "\nYour git branch has been successfully certified by bloxberg. To verify it you can copy paste the following into a json file and verify it on certify.bloxberg.org:\n\n##########\n" && echo "${{ steps.test-action.outputs.certificateVerification }}" && echo -e "\n##########"

0 comments on commit 85b0b97

Please sign in to comment.