File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed
rosidl_runtime_rs/.github/workflows Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release-plz
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ jobs :
9
+ release-plz-release :
10
+ name : Release-plz release
11
+ runs-on : ubuntu-latest
12
+ if : ${{ github.repository_owner == 'ros2-rust' }}
13
+ permissions :
14
+ contents : write
15
+ steps :
16
+ - name : Checkout repository
17
+ uses : actions/checkout@v4
18
+ with :
19
+ fetch-depth : 0
20
+ token : ${{ secrets.RELEASE_PLZ_TOKEN }}
21
+ - name : Install Rust toolchain
22
+ uses : dtolnay/rust-toolchain@stable
23
+ - name : Run release-plz
24
+ uses :
release-plz/[email protected]
25
+ with :
26
+ command : release
27
+ env :
28
+ GITHUB_TOKEN : ${{ secrets.RELEASE_PLZ_TOKEN }}
29
+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
30
+
31
+ release-plz-pr :
32
+ name : Release-plz PR
33
+ runs-on : ubuntu-latest
34
+ if : ${{ github.repository_owner == 'ros2-rust' }}
35
+ permissions :
36
+ pull-requests : write
37
+ contents : write
38
+ concurrency :
39
+ group : release-plz-${{ github.ref }}
40
+ cancel-in-progress : false
41
+ steps :
42
+ - name : Checkout repository
43
+ uses : actions/checkout@v4
44
+ with :
45
+ fetch-depth : 0
46
+ token : ${{ secrets.RELEASE_PLZ_TOKEN }}
47
+ - name : Install Rust toolchain
48
+ uses : dtolnay/rust-toolchain@stable
49
+ - name : Run release-plz
50
+ uses :
release-plz/[email protected]
51
+ with :
52
+ command : release-pr
53
+ env :
54
+ GITHUB_TOKEN : ${{ secrets.RELEASE_PLZ_TOKEN }}
55
+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
You can’t perform that action at this time.
0 commit comments