Skip to content

Commit

Permalink
Fix syntax error in release workflow (#7200)
Browse files Browse the repository at this point in the history
# Description

* Fix syntax error in release workflow (failed in 0.30 release)

## Type of change

<!--

Please select **one** of the following options that describes your
change and delete the others. Clearly identifying the type of change you
are making will help us review your PR faster, and is used in authoring
release notes.

If you are making a bug fix or functionality change to Radius and do not
have an associated issue link please create one now.

-->

- This pull request fixes a bug in Radius and has an approved issue
(issue link required).

<!--

Please update the following to link the associated issue. This is
required for some kinds of changes (see above).

-->

Fixes: #7106

Signed-off-by: willdavsmith <[email protected]>
Co-authored-by: vinayada1 <[email protected]>
  • Loading branch information
willdavsmith and vinayada1 authored Feb 27, 2024
1 parent 960f7cb commit 2526a8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ jobs:
generate_release_note:
name: Generate release note from template
runs-on: ubuntu-latest
if: github.repository == 'radius-project/radius' && github.event_name == 'pull_request' && github.event.pull_request.head.ref == 'main'
# We should only create the release note if this is a pull request against main
if: github.repository == 'radius-project/radius' && github.event_name == 'pull_request' && github.base_ref == 'main'
env:
RELNOTE_FOUND: false
steps:
Expand Down

0 comments on commit 2526a8e

Please sign in to comment.