Skip to content

Commit

Permalink
Bring over other changes from sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre committed May 5, 2023
1 parent 3df3a76 commit b5535b7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/react-to-product-owners-yml-changes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ sha=$(git -C /tmp/security-as-code rev-parse @)
pip3 install pyyaml==6.0
./bin/react-to-product-owners-yml-changes.py /tmp/security-as-code/rbac/lib/product-owners.yml
branch="getsantry/update-product-area-labels-${sha:0:8}"
message="Sync with product-owners.yml in security-as-code@${sha:0:8}"
git config user.email "getsantry[bot]@users.noreply.github.com"
git config user.name "getsantry[bot]"
git checkout -b "$branch"
git add .github/labels.yml
git commit -m "Sync with product-owners.yml in security-as-code@${sha:0:8}"
git commit -n -m "$message"
git push --set-upstream origin "$branch"
gh pr create --fill
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 b5535b7

Please sign in to comment.