React to product-owners.yml changes #55
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/[email protected] | |
- uses: getsentry/[email protected] | |
with: | |
python-version: 3.11.3 | |
- name: Get an auth token | |
id: token | |
uses: getsentry/[email protected] | |
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 |