99 release-plz-release :
1010 name : Release-plz release
1111 runs-on : ubuntu-latest
12- if : ${{ github.repository_owner == 'syncable-dev' }}
1312 permissions :
1413 contents : write
14+
1515 steps :
1616 - name : Debug repository context
1717 run : |
18- echo "Repo: $GITHUB_REPOSITORY"
19- echo "Owner: ${{ github.repository_owner }}"
20- echo "Ref: $GITHUB_REF"
21- echo "Has Cargo token?"; test -n "$CARGO_REGISTRY_TOKEN" && echo "✔︎" || echo "✘"
18+ echo "Repo: $GITHUB_REPOSITORY"
19+ echo "Actor (who triggered): $GITHUB_ACTOR"
20+ echo "Repository owner: ${{ github.repository_owner }}"
21+ echo "Ref: $GITHUB_REF"
22+ echo "Has RELEASE_PLZ_TOKEN?"; test -n "$RELEASE_PLZ_TOKEN" && echo "✔︎" || echo "✘"
23+ echo "Has CARGO_REGISTRY_TOKEN?"; test -n "$CARGO_REGISTRY_TOKEN" && echo "✔︎" || echo "✘"
2224
2325 - name : Checkout repository
2426 uses : actions/checkout@v4
2527 with :
2628 fetch-depth : 0
2729 token : ${{ secrets.RELEASE_PLZ_TOKEN }}
30+
2831 - name : Install Rust toolchain
2932 uses : dtolnay/rust-toolchain@stable
33+
3034 - name : Run release-plz
35+ if : ${{ github.repository_owner == 'syncable-dev' }}
3136 uses : release-plz/action@v0.5
3237 with :
3338 command : release --manifest-path rust-mcp-server-syncable-cli/Cargo.toml
3439 env :
35- GITHUB_TOKEN : ${{ secrets.RELEASE_PLZ_TOKEN }}
40+ GITHUB_TOKEN : ${{ secrets.RELEASE_PLZ_TOKEN }}
3641 CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
3742
43+
3844 release-plz-pr :
3945 name : Release-plz PR
4046 runs-on : ubuntu-latest
@@ -45,25 +51,30 @@ jobs:
4551 concurrency :
4652 group : release-plz-${{ github.ref }}
4753 cancel-in-progress : false
54+
4855 steps :
4956 - name : Debug repository context
5057 run : |
51- echo "Repo: $GITHUB_REPOSITORY"
52- echo "Owner: ${{ github.repository_owner }}"
53- echo "Ref: $GITHUB_REF"
54- echo "Has Cargo token?"; test -n "$CARGO_REGISTRY_TOKEN" && echo "✔︎" || echo "✘"
58+ echo "Repo: $GITHUB_REPOSITORY"
59+ echo "Actor (who triggered): $GITHUB_ACTOR"
60+ echo "Repository owner: ${{ github.repository_owner }}"
61+ echo "Ref: $GITHUB_REF"
62+ echo "Has RELEASE_PLZ_TOKEN?"; test -n "$RELEASE_PLZ_TOKEN" && echo "✔︎" || echo "✘"
63+ echo "Has CARGO_REGISTRY_TOKEN?"; test -n "$CARGO_REGISTRY_TOKEN" && echo "✔︎" || echo "✘"
5564
5665 - name : Checkout repository
5766 uses : actions/checkout@v4
5867 with :
5968 fetch-depth : 0
6069 token : ${{ secrets.RELEASE_PLZ_TOKEN }}
70+
6171 - name : Install Rust toolchain
6272 uses : dtolnay/rust-toolchain@stable
63- - name : Run release-plz
73+
74+ - name : Run release-plz PR
6475 uses : release-plz/action@v0.5
6576 with :
66- command : release- pr --manifest-path rust-mcp-server-syncable-cli/Cargo.toml
77+ command : pr --manifest-path rust-mcp-server-syncable-cli/Cargo.toml
6778 env :
68- GITHUB_TOKEN : ${{ secrets.RELEASE_PLZ_TOKEN }}
69- CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
79+ GITHUB_TOKEN : ${{ secrets.RELEASE_PLZ_TOKEN }}
80+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
0 commit comments