Merge pull request #69 from DistanceDevelopment/mcds-dot-exe #98
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
# this should trigger running of tests in the (private) testmrds repo | |
# based on https://github.community/t/triggering-by-other-repository/16163 | |
name: trigger-testmrds | |
# Controls when the action will run. | |
on: | |
# Triggers the workflow on push to master or optimist | |
push: | |
branches: [ master, optimist ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
notify: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
- name: ping testmrds | |
run: | | |
curl -XPOST -u "${{ secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/DistanceDevelopment/testmrds/dispatches --data '{"event_type": "build_application"}' |