Skip to content

Commit 43a8216

Browse files
hi-ogawacodex
andcommitted
test: trigger prepare publish smoke
Co-authored-by: Codex <noreply@openai.com>
1 parent 5785544 commit 43a8216

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/prepare-publish.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,12 @@ on:
2525
description: Specify exact version instead of bumpp release type
2626
required: false
2727
type: string
28+
push:
29+
branches:
30+
- test-flight/prepare-publish-app-pr
2831

2932
concurrency:
30-
group: ${{ github.workflow }}-${{ inputs.target_branch }}-${{ inputs.version || inputs.release }}
33+
group: ${{ github.workflow }}-${{ inputs.target_branch || 'main' }}-${{ inputs.version || inputs.release || 'next' }}
3134
cancel-in-progress: false
3235

3336
permissions: {}
@@ -45,7 +48,7 @@ jobs:
4548
steps:
4649
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4750
with:
48-
ref: ${{ inputs.target_branch }}
51+
ref: ${{ inputs.target_branch || 'main' }}
4952
fetch-depth: 0
5053
persist-credentials: false
5154

@@ -65,9 +68,9 @@ jobs:
6568

6669
- name: Create branch and update version
6770
env:
68-
TARGET_BRANCH: ${{ inputs.target_branch }}
69-
RELEASE_TYPE: ${{ inputs.release }}
70-
RELEASE_VERSION: ${{ inputs.version }}
71+
TARGET_BRANCH: ${{ inputs.target_branch || 'main' }}
72+
RELEASE_TYPE: ${{ inputs.release || 'next' }}
73+
RELEASE_VERSION: ${{ inputs.version || '' }}
7174
RUN_ID: ${{ github.run_id }}
7275
run: |
7376
RELEASE_INPUT="${RELEASE_VERSION:-$RELEASE_TYPE}"
@@ -89,7 +92,7 @@ jobs:
8992

9093
- name: Open release PR
9194
env:
92-
TARGET_BRANCH: ${{ inputs.target_branch }}
95+
TARGET_BRANCH: ${{ inputs.target_branch || 'main' }}
9396
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
9497
run: |
9598
PREPARE_BRANCH="$(git branch --show-current)"

0 commit comments

Comments
 (0)