Skip to content

Commit eb8dcf9

Browse files
wphillipmoorewphillipmoore-claude
andauthored
chore(ci): adopt CI/CD workflow naming convention (#383) (#191)
Co-authored-by: wphillipmoore-claude <255925739+wphillipmoore-claude@users.noreply.github.com>
1 parent 0b64f53 commit eb8dcf9

4 files changed

Lines changed: 30 additions & 34 deletions

File tree

.github/workflows/cd.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# https://github.com/wphillipmoore/standard-actions/blob/develop/.github/workflows/README.md
2+
name: CD
3+
4+
on:
5+
push:
6+
branches: [develop, main]
7+
workflow_dispatch:
8+
9+
permissions:
10+
attestations: write
11+
contents: write
12+
id-token: write
13+
pull-requests: write
14+
15+
jobs:
16+
docs:
17+
uses: wphillipmoore/standard-actions/.github/workflows/cd-docs.yml@v1.5
18+
with:
19+
pre-deploy-command: python3 scripts/dev/generate_mapping_docs.py
20+
permissions:
21+
contents: write
22+
23+
release:
24+
if: github.ref == 'refs/heads/main'
25+
uses: wphillipmoore/standard-actions/.github/workflows/cd-release.yml@v1.5
26+
secrets: inherit

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# https://github.com/wphillipmoore/standard-actions/blob/develop/.github/workflows/README.md
12
name: CI
23

34
on:
@@ -37,8 +38,8 @@ jobs:
3738
contents: read
3839
security-events: write
3940

40-
release:
41-
uses: wphillipmoore/standard-actions/.github/workflows/ci-release.yml@v1.5
41+
version:
42+
uses: wphillipmoore/standard-actions/.github/workflows/ci-version-bump.yml@v1.5
4243
with:
4344
language: shell
44-
run-release: ${{ inputs.run-release != false }}
45+
run-release: ${{ inputs.run-release != 'false' }}

.github/workflows/publish-docs.yml

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

.github/workflows/publish-release.yml

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

0 commit comments

Comments
 (0)