From 85b0b97b64a83ae6d234b5e6ad3d59f796a72648 Mon Sep 17 00:00:00 2001 From: Felix Riehm <mail@felixriehm.de> Date: Wed, 6 Mar 2024 08:37:12 +0100 Subject: [PATCH] Create workflow for certification on bloxberg.org --- .github/workflows/main.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..f5014ee --- /dev/null +++ b/.github/workflows/main.yml @@ -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/bloxberg-certify-github-action@1.0.0 + 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##########" -- GitLab