Skip to content

Commit dda364a

Browse files
authored
ci: update metanorma workflows and add release manifest (#34)
* Align numbers of votes. 8 -> 4, fixes #30 * ci: update metanorma workflows and add release manifest * ci: retrigger CI with fixed shared workflow
1 parent 054333e commit dda364a

179 files changed

Lines changed: 77987 additions & 882 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/docker.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

.github/workflows/generate.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: generate
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
concurrency:
15+
group: pages
16+
cancel-in-progress: true
17+
18+
jobs:
19+
site:
20+
uses: actions-mn/.github/.github/workflows/metanorma-generate.yml@v1
21+
secrets: inherit

.github/workflows/release.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths: ['sources/**', 'metanorma.yml', 'metanorma.release.yml']
7+
workflow_dispatch:
8+
inputs:
9+
include-pattern:
10+
description: 'Glob pattern to filter documents for release'
11+
required: false
12+
default: '*'
13+
force:
14+
description: 'Force release even if content is unchanged'
15+
required: false
16+
type: boolean
17+
default: false
18+
19+
permissions:
20+
contents: write
21+
22+
jobs:
23+
release:
24+
uses: actions-mn/.github/.github/workflows/metanorma-release.yml@v1
25+
with:
26+
default-visibility: private
27+
include-pattern: ${{ github.event.inputs.include-pattern || '*' }}
28+
force: ${{ github.event.inputs.force || 'false' }}
29+
secrets: inherit

0 commit comments

Comments
 (0)