Skip to content

Commit

Permalink
update inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Oct 29, 2024
1 parent e2be324 commit 262a832
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/benchmark_parallel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
9 changes: 8 additions & 1 deletion .github/workflows/release_parallel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down

0 comments on commit 262a832

Please sign in to comment.