-
-
Notifications
You must be signed in to change notification settings - Fork 10
61 lines (53 loc) · 1.62 KB
/
Copy pathci-push-main.yml
File metadata and controls
61 lines (53 loc) · 1.62 KB
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
55
56
57
58
59
60
61
name: CI - Push main
on:
workflow_dispatch:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
permissions: {}
jobs:
format:
name: Format
permissions:
contents: write
id-token: write
issues: write
pull-requests: write
secrets: inherit
uses: withstudiocms/automations/.github/workflows/format.yml@fe2d43b13c8a63e34ba8b0b9e16008149d8af55f # main
todo:
name: TODOs
permissions:
contents: write
issues: write
secrets: inherit
uses: withstudiocms/automations/.github/workflows/todo.yml@fe2d43b13c8a63e34ba8b0b9e16008149d8af55f # main
release:
name: Release
permissions:
contents: write
pull-requests: write
id-token: write
secrets: inherit
uses: withstudiocms/automations/.github/workflows/release.yml@fe2d43b13c8a63e34ba8b0b9e16008149d8af55f # main
with:
build-cmd: "pnpm ci:build"
RoleMentionId: '1309310416362537020'
mergebot:
name: CI - Merge Bot
if: github.repository_owner == 'withstudiocms' && github.event.head_commit.message != '[ci] lint'
uses: withstudiocms/automations/.github/workflows/mergebot.yml@fe2d43b13c8a63e34ba8b0b9e16008149d8af55f # main
secrets:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_MERGEBOT }}
preview-main:
name: Continuous Deployment Snapshot
permissions:
contents: read
id-token: write
issues: write
pull-requests: write
secrets: inherit
uses: withstudiocms/automations/.github/workflows/preview.yml@fe2d43b13c8a63e34ba8b0b9e16008149d8af55f # main
with:
build-cmd: "pnpm ci:build"