Repository navigation
docs(API): clarify locale_ids vs default_locale_codes in PATCH member docs #390
Workflow file for this run
This file contains hidden or 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: Dispatch Developer Hub on PR merge | |
| on: | |
| pull_request: | |
| types: [closed] | |
| jobs: | |
| dispatch: | |
| # Only run this job if the pull request was merged into the main branch | |
| if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Send repository_dispatch to Phrase-Engineering/developer-hub | |
| uses: peter-evans/repository-dispatch@0eae9e597ebc81bcc8c2220e34ddff4bc7c769b3 | |
| with: | |
| token: ${{ secrets.DISPATCH_DEVELOPER_HUB_TOKEN }} | |
| repository: Phrase-Engineering/developer-hub | |
| event-type: trigger-strings-workflow | |
| client-payload: >- | |
| { | |
| "source": "phrase/openapi", | |
| "type": "update", | |
| "pr_author": "${{ github.event.pull_request.user.login }}", | |
| "pr_url": "${{ github.event.pull_request.html_url }}", | |
| "pr_merged_by": "${{ github.event.pull_request.merged_by.login }}" | |
| } |