From 5fcce323006b07eeb1a7bef6ca711ed2d6b07e58 Mon Sep 17 00:00:00 2001 From: hoonoh Date: Tue, 8 Dec 2020 17:12:13 +0900 Subject: [PATCH] ci: add manual trigger for update constants action --- .github/workflows/update-constants.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-constants.yml b/.github/workflows/update-constants.yml index f45a2937..41892c12 100644 --- a/.github/workflows/update-constants.yml +++ b/.github/workflows/update-constants.yml @@ -2,7 +2,13 @@ name: update constants on: schedule: - - cron: '0 0 * * *' + - cron: "0 0 * * *" + + workflow_dispatch: + inputs: + checkout_ref: + description: branch, tag or commit sha + required: true jobs: build: @@ -10,6 +16,8 @@ jobs: steps: - uses: actions/checkout@v2 + with: + ref: ${{ github.event.inputs.checkout_ref }} - name: Install dependencies run: yarn --immutable