This repository has been archived by the owner on Feb 14, 2024. It is now read-only.
Orchestrator Hub Sync System Workflow #6
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
name: Orchestrator Hub Sync System Workflow | |
permissions: | |
contents: read | |
on: | |
workflow_dispatch: | |
release: | |
types: [released] | |
jobs: | |
hub_sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Generate GitHub token | |
id: generate-token | |
uses: tibdex/github-app-token@v1 | |
with: | |
app_id: ${{ secrets.APP_ID }} | |
private_key: ${{ secrets.APP_PRIVATE_KEY }} | |
installation_id: ${{ secrets.APP_INSTALLATION_ID }} | |
- name: Trigger Hub Sync Workflow | |
uses: benc-uk/workflow-dispatch@v1 | |
with: | |
workflow: run.yml | |
repo: PaloAltoNetworks/automation-metadata-collector | |
ref: main | |
token: ${{ steps.generate-token.outputs.token }} | |
inputs: '{"cloud-id": "gcp"}' |