1- name : CI
2-
31on :
42 push :
53 branches :
1311jobs :
1412
1513 compliance-copyrights :
16- name : Compliance Copyright Headers
1714 runs-on : ubuntu-latest
1815 steps :
19- - name : Checkout
20- uses : actions/checkout@v3
21- - name : Check License Header
22- uses : apache/skywalking-eyes@main
16+ - uses : actions/checkout@v3
17+ 2318 env :
2419 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2520
@@ -30,13 +25,11 @@ jobs:
3025 - uses : actions/setup-python@v4
3126 with :
3227 python-version : " 3.7"
33- - name : Install actionlint
34- run : |
35- bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/v1.6.8/scripts/download-actionlint.bash)
28+ - run : |
29+ bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/v1.6.25/scripts/download-actionlint.bash)
3630 -
uses :
pre-commit/[email protected] 3731
3832 publish :
39- name : Build Release
4033 needs :
4134 - compliance-copyrights
4235 - pre-commit
@@ -46,15 +39,22 @@ jobs:
4639 with :
4740 submodules : false
4841 persist-credentials : false
49- - name : Semantic Release
50- 42+ 5143 env :
5244 GITHUB_TOKEN : ${{ secrets.GH_TOKEN_ADMIN }}
45+ with :
46+ git_committer_name : ${{ secrets.SA_GH_USER_NAME }}
47+ git_committer_email : ${{ secrets.SA_GH_USER_EMAIL }}
48+ gpg_private_key : ${{ secrets.SA_GPG_PRIVATE_KEY }}
49+ passphrase : ${{ secrets.SA_GPG_PASSPHRASE }}
50+ extra_plugins : |
51+ @google/semantic-release-replace-plugin
5352
5453 update-semver :
55- name : Move Respository semver tags
5654 if : startsWith(github.ref, 'refs/tags/v')
5755 needs : publish
56+ permissions :
57+ contents : write
5858 runs-on : ubuntu-latest
5959 steps :
6060 - uses : actions/checkout@v3
0 commit comments