File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010
1111jobs :
1212 lint :
13- uses : stylelint/.github/.github/workflows/lint.yml@5c1fac886fb5f8f74e29e133f36d242770d03ed3 # main
13+ uses : stylelint/.github/.github/workflows/call- lint.yml@45666ef076bb454406bde671ade1f0f852eb70cc # 0.2.0
1414 permissions :
1515 contents : read
Original file line number Diff line number Diff line change 1+ name : Release PR
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ new-version :
7+ description : New version to release
8+ required : true
9+ type : choice
10+ options : [patch, minor, major]
11+
12+ jobs :
13+ release-pr :
14+ uses : stylelint/.github/.github/workflows/call-release-pr.yml@45666ef076bb454406bde671ade1f0f852eb70cc # 0.2.0
15+ with :
16+ new-version : ${{ github.event.inputs.new-version }}
17+ permissions :
18+ contents : write
19+ pull-requests : write
Original file line number Diff line number Diff line change 11name : Release
22
33on :
4- push :
5- tags : ['**']
6-
7- concurrency :
8- group : ${{ github.workflow }}
9- cancel-in-progress : true
4+ pull_request :
5+ branches : [main]
6+ types : [closed]
107
118jobs :
129 release :
13- runs-on : ubuntu-latest
10+ uses : stylelint/.github/.github/workflows/call-release.yml@45666ef076bb454406bde671ade1f0f852eb70cc # 0.2.0
1411 permissions :
1512 contents : write
16- timeout-minutes : 10
17- steps :
18- - name : Checkout
19- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
20- - name : Create release
21- uses : stylelint/changelog-to-github-release-action@8526eab6046b8f5b2f883844d953b5eb6f80e674 # 0.5.1
13+ id-token : write
You can’t perform that action at this time.
0 commit comments