Skip to content

React to product-owners.yml changes #78

React to product-owners.yml changes

React to product-owners.yml changes #78

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