Skip to content

Merge pull request #20 from microsoft/coc-updates-promoted-folder #20

Merge pull request #20 from microsoft/coc-updates-promoted-folder

Merge pull request #20 from microsoft/coc-updates-promoted-folder #20

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