react-to-product-owners-yml-changes.yml 882 B

1234567891011121314151617181920212223242526272829
  1. name: React to product-owners.yml changes
  2. on:
  3. # This could be run manually, but the general expectation is that this fires
  4. # from GHA in getsentry/security-as-code on changes there.
  5. workflow_dispatch:
  6. jobs:
  7. release:
  8. runs-on: ubuntu-latest
  9. name: React to product-owners.yml changes
  10. steps:
  11. - uses: actions/checkout@v2
  12. - uses: getsentry/action-setup-venv@v1.0.5
  13. with:
  14. python-version: 3.11.3
  15. - name: Get an auth token
  16. id: token
  17. uses: getsentry/action-github-app-token@v2.0.0
  18. with:
  19. app_id: ${{ vars.SENTRY_INTERNAL_APP_ID }}
  20. private_key: ${{ secrets.SENTRY_INTERNAL_APP_PRIVATE_KEY }}
  21. - name: React to product-owners.yml changes
  22. shell: bash
  23. env:
  24. GITHUB_TOKEN: ${{ steps.token.outputs.token }}
  25. run: ./bin/react-to-product-owners-yml-changes.sh