Skip to content

Commit

Permalink
Merge pull request #8189 from saschagrunert/workflow-run-manually
Browse files Browse the repository at this point in the history
Run workflow after tag push
  • Loading branch information
openshift-merge-bot[bot] committed May 16, 2024
2 parents 9d303dc + a5b126c commit d499a1e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/tag-reconciler/tag-reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ func pushTagToRemote(repo *git.Repo, tag, remote string) error {
return fmt.Errorf("unable to run git push: %w", err)
}

logrus.Infof("Running GitHub `test` workflow")
if err := command.NewWithWorkDir(repo.Dir(), "gh", "workflow", "run", "test", "--ref", tag).RunSilentSuccess(); err != nil {
return fmt.Errorf("unable to run GitHub workflow: %w", err)
}

return nil
}

Expand Down

0 comments on commit d499a1e

Please sign in to comment.