File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json" ,
3+ "release-type" : " php" ,
4+ "packages" : {
5+ "." : {
6+ "package-name" : " destroy" ,
7+ "changelog-path" : " /CHANGELOG.md"
8+ }
9+ },
10+ "include-component-in-tag" : false ,
11+ "include-v-in-tag" : false ,
12+ "changelog-type" : " github" ,
13+ "changelog-sections" : [
14+ {
15+ "type" : " feat" ,
16+ "section" : " Features" ,
17+ "hidden" : false
18+ },
19+ {
20+ "type" : " fix" ,
21+ "section" : " Bug Fixes" ,
22+ "hidden" : false
23+ },
24+ {
25+ "type" : " perf" ,
26+ "section" : " Performance Improvements" ,
27+ "hidden" : false
28+ },
29+ {
30+ "type" : " docs" ,
31+ "section" : " Documentation" ,
32+ "hidden" : false
33+ },
34+ {
35+ "type" : " deps" ,
36+ "section" : " Dependencies" ,
37+ "hidden" : false
38+ },
39+ {
40+ "type" : " refactor" ,
41+ "section" : " Code Refactoring" ,
42+ "hidden" : false
43+ },
44+ {
45+ "type" : " test" ,
46+ "section" : " Tests" ,
47+ "hidden" : true
48+ },
49+ {
50+ "type" : " tests" ,
51+ "section" : " Tests" ,
52+ "hidden" : true
53+ },
54+ {
55+ "type" : " build" ,
56+ "section" : " Build System" ,
57+ "hidden" : true
58+ },
59+ {
60+ "type" : " ci" ,
61+ "section" : " Continuous Integration" ,
62+ "hidden" : true
63+ },
64+ {
65+ "type" : " chore" ,
66+ "section" : " Miscellaneous" ,
67+ "hidden" : true
68+ },
69+ {
70+ "type" : " style" ,
71+ "section" : " Styles" ,
72+ "hidden" : true
73+ },
74+ {
75+ "type" : " revert" ,
76+ "section" : " Reverts" ,
77+ "hidden" : true
78+ }
79+ ]
80+ }
Original file line number Diff line number Diff line change 1+ ---
2+
3+ # https://github.com/wayofdev/gh-actions/blob/master/.github/workflows/create-release.yml
4+ # https://github.com/google-github-actions/release-please-action#release-types-supported
5+ # https://github.com/googleapis/release-please/blob/main/docs/customizing.md
6+
7+ on : # yamllint disable-line rule:truthy
8+ push :
9+ branches :
10+ - 1.x
11+
12+ name : 📦 Create release
13+
14+ jobs :
15+ release :
16+ runs-on : ubuntu-latest
17+ steps :
18+ - name : 🎉 Create release
19+ uses : googleapis/release-please-action@v4
20+ id : release
21+ with :
22+ token : ${{ secrets.RELEASE_TOKEN }}
23+ config-file : .github/.release-please-config.json
24+ manifest-file : resources/version.json
25+ target-branch : 1.x
26+
27+ ...
Original file line number Diff line number Diff line change 1+ .release-please-config :
2+ json :
3+ on :
4+ push :
5+ branches :
6+ - ' *'
7+
8+ name : Fix Code Style
9+
10+ jobs :
11+ cs-fix :
12+ permissions :
13+ contents : write
14+ uses : spiral/gh-actions/.github/workflows/cs-fix.yml@master
Original file line number Diff line number Diff line change 1+ ---
2+
3+ name : 🔐 Security analysis
4+
5+ on : # yamllint disable-line rule:truthy
6+ pull_request :
7+ push :
8+
9+ jobs :
10+ security-analysis :
11+ timeout-minutes : 4
12+ runs-on : ${{ matrix.os }}
13+ concurrency :
14+ cancel-in-progress : true
15+ group : security-analysis-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
16+ strategy :
17+ fail-fast : true
18+ matrix :
19+ os :
20+ - ubuntu-latest
21+ php-version :
22+ - ' 8.2'
23+ dependencies :
24+ - locked
25+ steps :
26+ - name : 📦 Check out the codebase
27+ uses : actions/checkout@v5
28+
29+ - name : 🛠️ Setup PHP
30+ uses : shivammathur/setup-php@v2
31+ with :
32+ php-version : ${{ matrix.php-version }}
33+ ini-values : error_reporting=E_ALL
34+ coverage : none
35+
36+ - name : 🛠️ Setup problem matchers
37+ run : echo "::add-matcher::${{ runner.tool_cache }}/php.json"
38+
39+ - name : 🤖 Validate composer.json and composer.lock
40+ run : composer validate --ansi --strict
41+
42+ - name : 📥 Install dependencies with composer
43+ uses : ramsey/composer-install@v3
44+ with :
45+ dependency-versions : ${{ matrix.dependencies }}
46+
47+ - name : 🐛 Check installed packages for security vulnerability advisories
48+ run : composer audit --ansi
You can’t perform that action at this time.
0 commit comments