Fix unit test to align with library updates #207
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: 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 | |