From 08036789664f2a59b29cceeeb271fe8cccb54db8 Mon Sep 17 00:00:00 2001 From: Koichi Shiraishi Date: Fri, 19 Jan 2024 22:51:37 +0900 Subject: [PATCH] github: add workflow_dispatch and update checkout to v4 Signed-off-by: Koichi Shiraishi --- .github/workflows/sync.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 5df32f4b5..0f4aa85d1 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -3,12 +3,13 @@ name: sync on: schedule: - cron: "0 0 * * *" # run at 00:00 (UTC) AM every day + workflow_dispatch: jobs: sync: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Unshallow # required for the changelog to work correctly. run: git fetch --prune --unshallow