File tree Expand file tree Collapse file tree 5 files changed +88
-146
lines changed Expand file tree Collapse file tree 5 files changed +88
-146
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ ---
2+ name : " Rebase"
3+
4+ " on " :
5+ push :
6+ branches :
7+ - main
8+
9+ concurrency :
10+ group : push-rebase-main
11+ cancel-in-progress : true
12+
13+ jobs :
14+ rebase :
15+ name : " Rebase"
16+ runs-on : ubuntu-latest
17+ permissions :
18+ pull-requests : write
19+ contents : write
20+ steps :
21+ - name : " Rebase all non-draft non-dependencies pull requests"
22+ uses : peter-evans/rebase@v3.1.0
23+ with :
24+ base : main
25+ exclude-drafts : true
26+ exclude-labels : dependencies
Original file line number Diff line number Diff line change 1+ ---
2+ name : Release
3+
4+ " on " :
5+ push :
6+ branches :
7+ - main
8+
9+ jobs :
10+ release :
11+ name : " Release"
12+ runs-on : ubuntu-latest
13+ permissions :
14+ contents : write
15+ pull-requests : write
16+ concurrency :
17+ group : semantic-release
18+ cancel-in-progress : false
19+ steps :
20+ - name : Checkout
21+ uses : actions/checkout@v5
22+ with :
23+ fetch-depth : 0
24+ token : ${{ secrets.SEMANTIC_RELEASE_TOKEN || secrets.GITHUB_TOKEN }}
25+
26+ - name : Semantic release
27+ run : |
28+ docker run --rm \
29+ --user 1001 \
30+ -v ${{ github.workspace }}:/workspace \
31+ -w /workspace \
32+ -e GITHUB_TOKEN=${{ secrets.SEMANTIC_RELEASE_TOKEN || secrets.GITHUB_TOKEN }} \
33+ -e CI=true \
34+ ghcr.io/disafronov/semantic-release:latest
Original file line number Diff line number Diff line change 1+ ---
2+ name : Validate
3+
4+ " on " :
5+ pull_request :
6+ branches :
7+ - main
8+
9+ jobs :
10+ validate :
11+ name : " Validate"
12+ runs-on : ubuntu-latest
13+ permissions :
14+ contents : read
15+ steps :
16+ - name : Checkout
17+ uses : actions/checkout@v5
18+ with :
19+ fetch-depth : 0
20+
21+ - name : Semantic release dry run
22+ run : |
23+ docker run --rm \
24+ --user 1001 \
25+ -v ${{ github.workspace }}:/workspace \
26+ -w /workspace \
27+ ghcr.io/disafronov/semantic-release:latest \
28+ --dry-run
You can’t perform that action at this time.
0 commit comments