You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
698 B
23 lines
698 B
name: Upgradeable Trigger
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- release-v*
|
|
|
|
jobs:
|
|
trigger:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- id: app
|
|
uses: getsentry/action-github-app-token@v1
|
|
with:
|
|
app_id: ${{ secrets.UPGRADEABLE_APP_ID }}
|
|
private_key: ${{ secrets.UPGRADEABLE_APP_PK }}
|
|
- run: |
|
|
curl -X POST \
|
|
https://api.github.com/repos/OpenZeppelin/openzeppelin-contracts-upgradeable/dispatches \
|
|
-H 'Accept: application/vnd.github.v3+json' \
|
|
-H 'Authorization: token ${{ steps.app.outputs.token }}' \
|
|
-d '{ "event_type": "Update", "client_payload": { "ref": "${{ github.ref }}" } }'
|
|
|