Skip to content

Commit

Permalink
feat: Add migrations and disclosures auto trigger (#2844)
Browse files Browse the repository at this point in the history
* Need to add a token

* chore: moved breaking changes dispatch to the `release.yml` workflow

* update token name

---------

Co-authored-by: Peter Smith <[email protected]>
  • Loading branch information
calldelegation and petertonysmith94 committed Aug 8, 2024
1 parent 4e82ad4 commit a2ef812
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,3 +202,11 @@ jobs:
aws s3 cp ./packages/account/src/providers/assets/images/ s3://${S3_CDN_BUCKET}/assets/ --recursive
env:
S3_CDN_BUCKET: ${{ secrets.S3_CDN_BUCKET }}

- name: Notify migrations and disclosures of the new release (breaking changes)
run: |
curl -X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${{ secrets.MIGRATIONS_RELEASE_TRIGGER_TOKEN }}" \
https://api.github.com/repos/FuelLabs/migrations-and-disclosures/dispatches \
-d '{"event_type":"update_versions"}'

0 comments on commit a2ef812

Please sign in to comment.