Skip to content

Commit bee8cc6

Browse files
committed
temp: testing
1 parent d985621 commit bee8cc6

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/rust-release.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Rust Agent Release
22

33
on:
4+
pull_request:
5+
branches:
6+
- pb/rust-release-cargo # for testing
47
push:
58
branches:
69
- main
@@ -329,9 +332,10 @@ jobs:
329332
runs-on: depot-ubuntu-latest
330333
needs: check-release-status
331334
if: |
332-
github.ref == 'refs/heads/main' &&
335+
github.ref != 'refs/remotes/origin/pb/rust-release-cargo' ||
336+
(github.ref == 'refs/heads/main' &&
333337
((github.event_name == 'workflow_dispatch' && inputs.prerelease) ||
334-
(github.event_name == 'push' && needs.check-release-status.outputs.should_release == 'true'))
338+
(github.event_name == 'push' && needs.check-release-status.outputs.should_release == 'true')))
335339
steps:
336340
- uses: actions/checkout@v4
337341
with:
@@ -344,8 +348,8 @@ jobs:
344348
working-directory: ./rust/main
345349
env:
346350
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
347-
IS_PRERELEASE: ${{ github.event_name == 'workflow_dispatch' && inputs.prerelease }}
348-
PRERELEASE_SUFFIX: ${{ inputs.prerelease_suffix }}
351+
IS_PRERELEASE: true
352+
PRERELEASE_SUFFIX: pbio.rc1
349353
BASE_VERSION: ${{ needs.check-release-status.outputs.current_version }}
350354
run: |
351355
git config user.name "github-actions[bot]"

0 commit comments

Comments
 (0)