PR Dispatch Workflow #27
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
# | |
# Copyright (c) Microsoft Corporation | |
# Licensed under the MIT License. | |
# | |
name: PR Dispatch Workflow | |
on: | |
schedule: | |
- cron: '0 5 * * 5' | |
env: | |
TF_VERSION: "1.8.4" | |
TF_LINT_VERSION: "v0.50.3" | |
jobs: | |
dispatch: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
scenario: | |
- standalone-scenarios-azuread.json | |
- standalone-scenarios.json | |
- standalone-compute.json | |
- standalone-networking.json | |
- standalone-dataplat.json | |
steps: | |
- name: Repository Dispatch | |
uses: peter-evans/repository-dispatch@v3 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
event-type: int-${{ matrix.scenario }} | |
client-payload: '{"scenario": "${{ (matrix.scenario) }}", "sha": "${{ github.event.pull_request.head.sha }}"}' |