Skip to content

Commit

Permalink
build: Don't try to update release info on the website unless actuall…
Browse files Browse the repository at this point in the history
…y releasing (#2025)

Co-authored-by: Adam Washington <[email protected]>
  • Loading branch information
trisyoungs and rprospero authored Dec 9, 2024
1 parent 88573e2 commit 3edd07e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/_publishing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
HARBOR_SECRET: ${{ secrets.HARBOR_SECRET }}
- name: Update Version Information
uses: "./.github/workflows/update-release-info"
if: ${{ inputs.publishType == 'release' }}
with:
createPR: ${{ ! endsWith(github.ref, 'pre') }}
releaseVersion: ${{ env.dissolveVersion }}
4 changes: 3 additions & 1 deletion .github/workflows/qc/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ runs:
# Ensure that the PR title fits the conventional commits framework
if: github.event_name == 'pull_request'
shell: bash
env:
TITLE: ${{ github.event.pull_request.title }}
run: |
set -ex
echo '${{ github.event.pull_request.title }}' | awk "/(^feat:)|(^fix:)|(^doc:)|(^perf:)|(^refactor:)|(^style:)|(^test:)|(^chore:)|(^revert:)|(^build:)/" | grep .
echo "${TITLE}" | awk "/(^feat:)|(^fix:)|(^doc:)|(^perf:)|(^refactor:)|(^style:)|(^test:)|(^chore:)|(^revert:)|(^build:)/" | grep .
- name: C++ Formatting
shell: bash
Expand Down

0 comments on commit 3edd07e

Please sign in to comment.