File tree Expand file tree Collapse file tree 6 files changed +52
-17
lines changed Expand file tree Collapse file tree 6 files changed +52
-17
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,14 @@ name: Shared - Continuous Integration for common tasks
33on :
44 workflow_call :
55
6+ permissions : {}
7+
68jobs :
79 checks :
10+ permissions :
11+ contents : read
12+ id-token : write
13+
814 strategy :
915 matrix :
1016 include :
1723 runs-on : ubuntu-latest
1824 steps :
1925 - name : Checkout
20- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
26+ uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
27+ with :
28+ persist-credentials : false
2129
2230 - name : ⚙️ Setup PHP, with composer and extensions
2331 uses : ./.github/workflows/actions/setup-php
Original file line number Diff line number Diff line change 11name : Main - Continuous Integration
22
3- concurrency :
4- group : ${{ github.workflow }}-${{ github.ref }}
5- cancel-in-progress : true
6-
73on :
84 push :
95 branches :
106 - main
117
12- permissions :
13- contents : read
14- pages : write
15- id-token : write
8+ concurrency :
9+ group : ${{ github.workflow }}-${{ github.ref }}
10+ cancel-in-progress : true
11+
12+ permissions : {}
1613
1714jobs :
1815 ci :
1916 name : Continuous Integration
2017 uses : ./.github/workflows/__shared-ci.yml
18+ permissions :
19+ contents : read
20+ id-token : write
2121 secrets : inherit
2222
2323 docs-generate-site :
2424 runs-on : ubuntu-latest
2525 needs : ci
26+ permissions :
27+ contents : read
2628 steps :
27- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
29+ - uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
30+ with :
31+ persist-credentials : false
32+
2833 - run : |
2934 mkdir -p ./_site
3035
6469 docs-generate-phpdoc :
6570 runs-on : ubuntu-latest
6671 needs : ci
72+ permissions :
73+ contents : read
6774 steps :
68- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
75+ - uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
76+ with :
77+ persist-credentials : false
6978
7079 - name : 📃 Generate PHP documentation
7180 run : docker run --rm -v $(pwd):/data phpdoc/phpdoc:3 -d ./src -t ./_site/phpdoc
Original file line number Diff line number Diff line change @@ -17,9 +17,14 @@ concurrency:
1717 group : ${{ github.workflow }}-${{ github.ref }}
1818 cancel-in-progress : true
1919
20+ permissions : {}
21+
2022jobs :
2123 main :
22- uses : hoverkraft-tech/ci-github-common/.github/workflows/need-fix-to-issue.yml@753288393de1f3d92f687a6761d236ca800f5306 # 0.28.1
24+ uses : hoverkraft-tech/ci-github-common/.github/workflows/need-fix-to-issue.yml@1127e708e4072515056a4b0d26bcb0653646cedc # 0.30.0
25+ permissions :
26+ contents : read
27+ issues : write
2328 with :
2429 manual-commit-ref : ${{ inputs.manual-commit-ref }}
2530 manual-base-ref : ${{ inputs.manual-base-ref }}
Original file line number Diff line number Diff line change 1010 - main
1111 merge_group :
1212
13+ permissions : {}
14+
1315jobs :
1416 ci :
1517 name : Continuous Integration
1618 uses : ./.github/workflows/__shared-ci.yml
19+ permissions :
20+ contents : read
21+ id-token : write
1722 secrets : inherit
Original file line number Diff line number Diff line change 44 schedule :
55 - cron : " 30 1 * * *"
66
7+ permissions : {}
8+
79jobs :
810 main :
9- uses : hoverkraft-tech/ci-github-common/.github/workflows/stale.yml@753288393de1f3d92f687a6761d236ca800f5306 # 0.28.1
11+ uses : hoverkraft-tech/ci-github-common/.github/workflows/stale.yml@1127e708e4072515056a4b0d26bcb0653646cedc # 0.30.0
12+ permissions :
13+ issues : write
14+ pull-requests : write
Original file line number Diff line number Diff line change 55 - cron : " 0 0 * * 0" # Every Sunday at midnight
66 workflow_dispatch :
77
8- permissions :
9- contents : write
10- pull-requests : write
8+ permissions : {}
119
1210jobs :
1311 update-css-referential :
1412 runs-on : ubuntu-latest
13+ permissions :
14+ contents : write
15+ pull-requests : write
1516 steps :
1617 - name : Checkout
17- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
18+ uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
19+ with :
20+ persist-credentials : false
1821
1922 - name : ⚙️ Setup PHP, with composer and extensions
2023 uses : ./.github/workflows/actions/setup-php
You can’t perform that action at this time.
0 commit comments