dispatch-bump-sentry.yml 895 B

1234567891011121314151617181920212223242526272829303132
  1. name: dispatch getsentry bump-sentry
  2. # Serializes the execution of this workflow.
  3. concurrency:
  4. group: ${{ github.workflow }}
  5. on:
  6. push:
  7. branches:
  8. - master
  9. jobs:
  10. dispatch:
  11. name: dispatch
  12. runs-on: ubuntu-20.04
  13. steps:
  14. - name: Dispatch getsentry tests
  15. uses: actions/github-script@7a5c598405937d486b0331594b5da2b14db670da # v6
  16. with:
  17. # This Personal Access Token belongs to getsentry-bot,
  18. # who can write to getsentry and is SAML+SSO ready.
  19. github-token: ${{ secrets.BUMP_SENTRY_TOKEN }}
  20. script: |
  21. await github.rest.actions.createWorkflowDispatch({
  22. owner: 'getsentry',
  23. repo: 'getsentry',
  24. workflow_id: 'bump-sentry.yml',
  25. ref: 'master',
  26. inputs: {
  27. "sentry_sha": "${{ github.sha }}"
  28. }
  29. })