Skip to content

Commit

Permalink
meta(product-owners.yml) Exit cleanly when there are no changes to ma…
Browse files Browse the repository at this point in the history
…ke (#49272)
  • Loading branch information
chadwhitacre authored May 16, 2023
1 parent c1e3eed commit 3d9aca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/react-to-product-owners-yml-changes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ git checkout -b "$branch"
git add .github/labels.yml
git add .github/ISSUE_TEMPLATE/bug.yml
git add .github/ISSUE_TEMPLATE/feature.yml
git commit -n -m "$message"
git commit -n -m "$message" || exit 0
git push --set-upstream origin "$branch"
gh pr create --title "meta(routing) $message" --body="Syncing with [``product-owners.yml``](https://github.com/getsentry/security-as-code/blob/$sha/rbac/lib/product-owners.yml) ([docs](https://www.notion.so/473791bae5bf43399d46093050b77bf0))."

0 comments on commit 3d9aca4

Please sign in to comment.