React to product-owners.yml changes #78
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: React to product-owners.yml changes | |
on: | |
# This could be run manually, but the general expectation is that this fires | |
# from GHA in getsentry/security-as-code on changes there. | |
workflow_dispatch: | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
name: React to product-owners.yml changes | |
steps: | |
- uses: actions/checkout@v4.1.1 | |
- uses: getsentry/action-setup-venv@v1.0.5 | |
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 }} | |
run: ./bin/react-to-product-owners-yml-changes.sh |