diff --git a/.github/workflows/benchmark_parallel.yml b/.github/workflows/benchmark_parallel.yml index 6a9a0b097d..1c55708e9e 100644 --- a/.github/workflows/benchmark_parallel.yml +++ b/.github/workflows/benchmark_parallel.yml @@ -92,8 +92,15 @@ jobs: echo "benchmark.md does not exist after test" fi + - name: Create branch name + id: create-branch-name + run: | + SAFE_PATH=$(echo '${{ matrix.test.displayPath }}' | sed 's/\//-/g') + echo "branch-name=${{ inputs.branch-prefix }}${SAFE_PATH}" >> $GITHUB_OUTPUT + shell: bash + - uses: ./.github/actions/commit_and_push with: - branch-name: "${{ inputs.branch-prefix }}$(echo '${{ matrix.test.displayPath }}' | sed 's/\//-/g')" + branch-name: ${{ steps.create-branch-name.outputs.branch-name }} commit-message: 'Run benchmarks for ${{ matrix.test.displayPath }}' gpg_signing_key: ${{ secrets.GPG_SIGNING_KEY }} diff --git a/.github/workflows/release_parallel.yml b/.github/workflows/release_parallel.yml index 026570e390..8aa155a023 100644 --- a/.github/workflows/release_parallel.yml +++ b/.github/workflows/release_parallel.yml @@ -111,9 +111,16 @@ jobs: continue-on-error: true run: npm test + - name: Create branch name + id: create-branch-name + run: | + SAFE_PATH=$(echo '${{ matrix.test.displayPath }}' | sed 's/\//-/g') + echo "branch-name=update--${{ needs.prepare-release.outputs.release-version }}-${SAFE_PATH}" >> $GITHUB_OUTPUT + shell: bash + - uses: ./.github/actions/commit_and_push with: - branch-name: "update--${{ needs.prepare-release.outputs.release-version }}-$(echo '${{ matrix.test.displayPath }}' | sed 's/\//-/g')" + branch-name: ${{ steps.create-branch-name.outputs.branch-name }} commit-message: 'Update dependencies for ${{ matrix.test.displayPath }}' gpg_signing_key: ${{ secrets.GPG_SIGNING_KEY }}