-
Notifications
You must be signed in to change notification settings - Fork 5
46 lines (44 loc) · 969 Bytes
/
ci.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
34
35
36
37
38
39
40
41
42
43
44
45
46
# name
name: ci
# triggers
on:
workflow_dispatch:
push:
branches:
- main
tags:
- v*.*.*
paths-ignore:
- README.md
- LICENSE
- .github/**
- .gitignore
- .editorconfig
- renovate.json
pull_request:
branches:
- main
paths-ignore:
- README.md
- LICENSE
- .github/**
- .gitignore
- .editorconfig
- renovate.json
jobs:
ci:
uses: cidverse/catalog/.github/workflows/shared-ci.yml@main
permissions:
actions: read # read actions
contents: write # create release
packages: write # publish packages
security-events: write # sarif reports
pages: write # pages
id-token: write # signing
with:
cid-workflow: main
cid-version: latest
secrets:
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
SONAR_ORGANIZATION: ${{ secrets.SONAR_ORGANIZATION }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}