Refactor default value handling and update type consistency. #1237
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Trigger action | |
on: | |
push: | |
branches: | |
- 'hotfix/v*' | |
- 'release/v*' | |
- 'develop' | |
jobs: | |
dispatch: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Dispatch Action | |
run: | | |
curl \ | |
-X POST \ | |
-u "${{ secrets.USERNAME}}:${{secrets.TOKEN}}" \ | |
"https://api.github.com/repos/ONLYOFFICE/DocSpace-buildtools/dispatches" \ | |
-H "Accept: application/vnd.github.everest-preview+json" \ | |
--data '{"event_type": "server-trigger-action", "client_payload": { "branches": ["'"${GITHUB_REF_NAME}"'"]}}' | |