Skip to content

Commit

Permalink
only any found
Browse files Browse the repository at this point in the history
  • Loading branch information
jazanne committed Mar 1, 2024
1 parent e218a18 commit db9a9cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func main() {
gha.EndLogGroup()

// Add flag links
if config.CreateFlagLinks && postedComments != "" {
if config.CreateFlagLinks && flagsRef.AnyFound() && postedComments != "" {
// if postedComments is empty, we probably already created the flag links
gha.StartLogGroup("Adding flag links...")
ldclient.CreateFlagLinks(config, flagsRef, event)
Expand Down

0 comments on commit db9a9cb

Please sign in to comment.