-
Notifications
You must be signed in to change notification settings - Fork 52
54 lines (48 loc) · 1.41 KB
/
upstreamed.yaml
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
47
48
49
50
51
52
53
54
name: Upstreamed
on:
push:
branches:
- main
jobs:
static_analysis:
name: Static Analysis
runs-on: ubuntu-latest
if: github.repository == 'fedora-modularity/libmodulemd'
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Coverity Scan
env:
COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_TOKEN }}
run: |
./.ci/ci-coverity.sh
docs:
name: Publish Documentation
runs-on: ubuntu-latest
continue-on-error: false
if: github.repository == 'fedora-modularity/libmodulemd'
steps:
- name: Checkout code repo
uses: actions/checkout@v4
- name: Checkout documentation repo
uses: actions/checkout@v4
with:
repository: fedora-modularity/fedora-modularity.github.io
ref: main
path: fedora-modularity.github.io
token: ${{ secrets.DOC_TOKEN }}
- name: Generate documentation
run: |
./.ci/ci-docs.sh
- name: Commit documentation
uses: EndBug/add-and-commit@v9
with:
new_branch: main
github_token: ${{ secrets.DOC_TOKEN }}
cwd: fedora-modularity.github.io
author_name: Libmodulemd CI
author_email: github-actions@github.com
message: Updating libmodulemd docs for ${{ github.sha }}
add: libmodulemd/latest
commit: --signoff
push: true