Merge pull request #128 from LawrenceLoz/#127_Related_Object_Assessme… #121
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
# Calls Sync Dependencies workflow from FormulaShare-App repo to update the | |
# main branch with latest version of dependencies | |
name: Sync to FS-App repo | |
# Run for all commits to main | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
env: | |
PAT_FOR_REPO_INTEGRATION: ${{ secrets.PAT_FOR_REPO_INTEGRATION }} | |
jobs: | |
call-sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Call sync workflow' | |
run: | | |
curl -XPOST -H "Authorization: Bearer $PAT_FOR_REPO_INTEGRATION" -H "Content-Type:application/json" \ | |
https://api.github.com/repos/LawrenceLoz/FormulaShare-App/dispatches \ | |
--data "{\"event_type\": \"sync_main\"}" |