-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (27 loc) · 1003 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Bloxberg.org 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: ${{github.repository}} ${{github.ref_type}} ${{github.ref}} ${{github.sha}}
- name: Print certification
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.bloxberg-certifier.outputs.certificateVerification }}" && echo -e "\n##########"