From 7c8d13fb91b002031fd52ca08133cb72f2aa4fdc Mon Sep 17 00:00:00 2001 From: Ken Lui <116421546+kenlhlui@users.noreply.github.com> Date: Fri, 31 Oct 2025 15:11:37 -0400 Subject: [PATCH 1/2] fix: ci - moved the update date to initialize during PR --- .github/workflows/deploy.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6cc8066..6c494d1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,6 +10,8 @@ name: Deploy Jekyll site to Pages on: push: branches: ["main"] + pull_request: + branches: ["main"] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -30,12 +32,14 @@ jobs: auto-gen-date: name: Update ci_last_modified_date runs-on: ubuntu-latest + if: github.event_name == 'pull_request' permissions: contents: write steps: - name: Checkout uses: actions/checkout@v5 with: + ref: ${{ github.head_ref }} persist-credentials: true fetch-depth: 0 @@ -54,9 +58,8 @@ jobs: - name: Commit and Push uses: stefanzweifel/git-auto-commit-action@v7 with: - commit_message: "ci: Auto-update date to ${{ steps.set_date.outputs.date }} [skip ci]" + commit_message: "ci: Auto-update date to ${{ steps.set_date.outputs.date }}" file_pattern: "_config.yml" - push_options: --force # Build job build: From ce4299c8540c2487f10f4553ac753a98dba29c5e Mon Sep 17 00:00:00 2001 From: kenlhlui <116421546+kenlhlui@users.noreply.github.com> Date: Fri, 31 Oct 2025 19:12:24 +0000 Subject: [PATCH 2/2] ci: Auto-update date to 2025-10-31 --- _config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 27e2af5..362cd06 100644 --- a/_config.yml +++ b/_config.yml @@ -206,4 +206,4 @@ compress_html: sass: quiet_deps: true # https://github.com/just-the-docs/just-the-docs/issues/1541 silence_deprecations: ["import"] # https://github.com/just-the-docs/just-the-docs/issues/1607 - +ci_last_modified_date: "2025-10-31"