Skip to content

fix workflow (#4274) #283

fix workflow (#4274)

fix workflow (#4274) #283

Workflow file for this run

name: Trigger Enterprise Workflow on Release or Merge
on:
release:
types:
- created
push:
branches:
- main
permissions:
contents: none
jobs:
trigger-enterprise-workflow:
runs-on: ubuntu-latest
# if: github.event_name == 'pull_request' && github.event.pull_request.merged == true
steps:
- name: Trigger Workflow
uses: peter-evans/repository-dispatch@bf47d102fdb849e755b0b0023ea3e81a44b6f570 # v2.1.2
with:
token: ${{ secrets.WKS_CI_TEST_BOT_PR_TOKEN }}
repository: weaveworks/weave-gitops-enterprise
event-type: create-pr