Skip to content

Commit

Permalink
Only add .github/labels.yml (not whole venv!) (#6863)
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre authored May 5, 2023
1 parent e58af57 commit c2b15f7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 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 .
git commit -m "Sync with product-owners.yml in security-as-code@${sha:0:8}"
git add .github/labels.yml
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))."

1 comment on commit c2b15f7

@vercel
Copy link

@vercel vercel bot commented on c2b15f7 May 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sentry-docs – ./

sentry-docs-git-master.sentry.dev
docs.sentry.io
sentry-docs.sentry.dev

Please sign in to comment.