trigger-ofrp.yml 580 B

123456789101112131415161718
  1. name: Trigger OrangeFox [OFRP] Build
  2. on:
  3. push:
  4. branches:
  5. - android-12.1 # o la rama que quieras monitorear
  6. jobs:
  7. dispatch:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - name: Trigger OFRP workflow in other repo
  11. run: |
  12. curl -X POST https://api.github.com/repos/winapis/TWRP_OFOX_PBRP_SHRP_Recovery_Builder/dispatches \
  13. -H "Accept: application/vnd.github+json" \
  14. -H "Authorization: Bearer ${{ secrets.GH_PERSONAL_TOKEN }}" \
  15. -H "Content-Type: application/json" \
  16. -d '{"event_type": "trigger-ofox"}'