Skip to content

adding a README.md to the actions workflows directory to encourage ou… #9

adding a README.md to the actions workflows directory to encourage ou…

adding a README.md to the actions workflows directory to encourage ou… #9

name: Publish updated templates to Microsoft systems
on:
push:
repository_dispatch:
workflow_dispatch:
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Notify internal systems to use updated templates
run: |
curl -H "Accept: application/vnd.github.everest-preview+json" \
-H "Authorization: token ${{ secrets.REPO_TEMPLATES_OSS_WORKFLOW_DISPATCH }}" \
--request POST \
--data '{"event_type": "rebuild-microsoft-oss-templates", "client_payload": {"repository":"microsoft/repo-templates"}}' \
https://api.github.com/repos/${{ secrets.INTERNAL_EMU_OSSMGMT_REPOSITORY_NAME }}/dispatches