upgradeable.yml 698 B

1234567891011121314151617181920212223
  1. name: Upgradeable Trigger
  2. on:
  3. push:
  4. branches:
  5. - master
  6. - release-v*
  7. jobs:
  8. trigger:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - id: app
  12. uses: getsentry/action-github-app-token@v2
  13. with:
  14. app_id: ${{ secrets.UPGRADEABLE_APP_ID }}
  15. private_key: ${{ secrets.UPGRADEABLE_APP_PK }}
  16. - run: |
  17. curl -X POST \
  18. https://api.github.com/repos/OpenZeppelin/openzeppelin-contracts-upgradeable/dispatches \
  19. -H 'Accept: application/vnd.github.v3+json' \
  20. -H 'Authorization: token ${{ steps.app.outputs.token }}' \
  21. -d '{ "event_type": "Update", "client_payload": { "ref": "${{ github.ref }}" } }'