Skip to content

feat: try branch

feat: try branch #5

name: Healthcheck
on: push
jobs:
# trigger-healthckeck:
# uses: shopware/developer-portal/.github/workflows/self-trigger.yml@DX-healthcheck
# with:
# branch: ${{ github.ref_name }}
# repository: ${{ github.repository }}
# secrets:
# access_token: ${{ secrets.DEVELOPER_PORTAL_WORKFLOW_TOKEN }}
trigger-healthcheck:
runs-on: ubuntu-latest
steps:
- name: Set default status to "pending"
run: echo "::set-output name=status::pending"
- name: Trigger DevHub healthcheck
uses: octokit/[email protected]
with:
route: POST /repos/shopware/developer-portal/actions/workflows/external-healthcheck.yml@DX-healthcheck/dispatches
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEV_HUB_BRANCH: ${{ github.ref_name }}
DEV_HUB_REPO: ${{ github.repository }}