--- name: Publish collection on: workflow_dispatch: jobs: publish: uses: ansible-middleware/github-actions/.github/workflows/publish.yml@main with: collection_fqcn: 'middleware_automation.keycloak' downstream_name: 'rhbk' secrets: galaxy_token: ${{ secrets.ANSIBLE_GALAXY_API_KEY }} jira_webhook: ${{ secrets.JIRA_WEBHOOK_CREATE_VERSION }} push_token: ${{ secrets.TRIGGERING_PAT }} dispatch: needs: publish if: needs.publish.result == 'success' strategy: matrix: repo: ['ansible-middleware/ansible-middleware-ee'] runs-on: ubuntu-latest steps: - name: Repository Dispatch uses: peter-evans/repository-dispatch@v4 with: token: ${{ secrets.TRIGGERING_PAT }} repository: ${{ matrix.repo }} event-type: "Dependency released - Keycloak v${{ needs.publish.outputs.tag_version }}" client-payload: '{ "github": ${{toJson(github)}} }'