Update healthcheck #23
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: Update healthcheck | |
on: | |
workflow_dispatch: | |
inputs: | |
branch: | |
description: "Branch to checkout" | |
required: true | |
type: string | |
repo: | |
description: "Repo to checkout" | |
required: true | |
type: string | |
sha: | |
description: "Commit to checkout" | |
required: true | |
type: string | |
check: | |
description: "Check ID" | |
required: true | |
type: string | |
conclusion: | |
description: "Healthcheck conclusion" | |
required: true | |
type: string | |
jobs: | |
update-healthckeck: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Update check | |
run: | | |
npm i @octokit/rest | |
node .github/scripts/update-check.js | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
PERSONAL_ACCESS_TOKEN: ${{ secrets.DEV_HUB_PERSONAL_ACCESS_TOKEN }} | |
DEV_HUB_BRANCH: ${{ inputs.branch }} | |
DEV_HUB_REPO: ${{ inputs.repo }} | |
DEV_HUB_SHA: ${{ inputs.sha }} | |
DEV_HUB_CHECK: ${{ inputs.check }} | |
DEV_HUB_CONCLUSION: ${{ inputs.conclusion }} |