Browse Source

chore(open-source): Use getsentry-bot instead of getsantry app for script (#57072)

The user is a part of the sentry org, so it won't require getsentry
tests and /gcbrun
Hubert Deng 1 year ago
parent
commit
ebee47a2f5
1 changed files with 3 additions and 8 deletions
  1. 3 8
      .github/workflows/react-to-product-owners-yml-changes.yml

+ 3 - 8
.github/workflows/react-to-product-owners-yml-changes.yml

@@ -15,15 +15,10 @@ jobs:
         with:
           python-version: 3.11.3
 
-      - name: Get an auth token
-        id: token
-        uses: getsentry/action-github-app-token@v2.0.0
-        with:
-          app_id: ${{ vars.SENTRY_INTERNAL_APP_ID }}
-          private_key: ${{ secrets.SENTRY_INTERNAL_APP_PRIVATE_KEY }}
-
       - name: React to product-owners.yml changes
         shell: bash
         env:
-          GITHUB_TOKEN: ${{ steps.token.outputs.token }}
+          GITHUB_TOKEN: ${{ secrets.BUMP_SENTRY_TOKEN }}
+          COMMITTER_NAME: getsentry-bot
+          COMMITTER_EMAIL: bot@sentry.io
         run: ./bin/react-to-product-owners-yml-changes.sh