Skip to content

Commit

Permalink
feat: revert to initial job
Browse files Browse the repository at this point in the history
  • Loading branch information
bojanrajh committed Oct 25, 2023
1 parent 9cdb96a commit 1c61088
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/developer-portal-healthckeck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@ 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 }}
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 }}

0 comments on commit 1c61088

Please sign in to comment.