File tree Expand file tree Collapse file tree 12 files changed +30
-11
lines changed
Expand file tree Collapse file tree 12 files changed +30
-11
lines changed Original file line number Diff line number Diff line change 1010 - ' .github/workflows/build-private.yml'
1111 - ' docker/prod/**'
1212 workflow_dispatch :
13+ permissions :
14+ contents : read
1315
1416name : Build - Private
1517jobs :
1618 build :
1719 runs-on : ubuntu-latest
1820 timeout-minutes : 20
1921
22+
2023 steps :
2124 - name : " Check out code"
2225 uses : actions/checkout@v4
Original file line number Diff line number Diff line change 1111 - ' docker/prod/**'
1212 workflow_dispatch :
1313
14+ permissions :
15+ packages : write
16+ contents : read
17+ attestations : write
18+ id-token : write
19+
1420env :
1521 DOCKERHUB_REPO : solidtime/solidtime
1622 GHCR_REPO : ghcr.io/solidtime-io/solidtime
2632 - runs-on : " ubuntu-24.04"
2733 platform : " linux/amd64"
2834 runs-on : ${{ matrix.runs-on }}
29- permissions :
30- packages : write
31- contents : read
32- attestations : write
33- id-token : write
3435 timeout-minutes : 90
3536
3637 steps :
@@ -163,11 +164,6 @@ jobs:
163164
164165 merge :
165166 runs-on : ubuntu-latest
166- permissions :
167- packages : write
168- contents : read
169- attestations : write
170- id-token : write
171167 timeout-minutes : 90
172168 needs :
173169 - build
Original file line number Diff line number Diff line change 33 push :
44 branches :
55 - main
6+ permissions :
7+ contents : read
8+
69jobs :
710 api_docs :
811 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 11name : NPM Build
22
33on : [push]
4+ permissions :
5+ contents : read
46
57jobs :
68 build :
Original file line number Diff line number Diff line change 11name : NPM Lint
22
33on : [push]
4+ permissions :
5+ contents : read
46
57jobs :
68 build :
Original file line number Diff line number Diff line change 11name : Publish API package to NPM
22on :
33 workflow_dispatch
4+ permissions :
5+ contents : read
46jobs :
57 build :
68 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 11name : Publish UI package to NPM
22on :
33 workflow_dispatch
4+ permissions :
5+ contents : read
46jobs :
57 build :
68 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 11name : NPM Typecheck
22
33on : [push]
4-
4+ permissions :
5+ contents : read
56jobs :
67 build :
78 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 11name : Static code analysis (PHPStan)
22on : push
3+ permissions :
4+ contents : read
35jobs :
46 phpstan :
57 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 11name : PHPUnit Tests
22on : push
3+ permissions :
4+ contents : read
35jobs :
46 phpunit :
57 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments