From 80dcaff4daba5864ac61857b153476e94e61c82a Mon Sep 17 00:00:00 2001 From: Kitty Chiu <42864823+KittyChiu@users.noreply.github.com> Date: Mon, 4 May 2026 05:53:02 +0000 Subject: [PATCH 1/3] fix: replaced snap install with curl --- .github/workflows/pr-check.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index e473014..e27a47c 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -78,7 +78,13 @@ jobs: sudo dpkg -i ${{ runner.temp }}/hugo.deb hugo version - name: Install Dart Sass - run: sudo snap install dart-sass + env: + DART_SASS_VERSION: 1.99.0 + run: | + curl -LO https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz + tar -xzf dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz + sudo cp -r dart-sass/* /usr/local/bin/ + sass --version - uses: actions/setup-node@v6 with: From bb0fddac383b3e5369637ce92b5221c940009960 Mon Sep 17 00:00:00 2001 From: Kitty Chiu <42864823+KittyChiu@users.noreply.github.com> Date: Mon, 4 May 2026 15:59:34 +1000 Subject: [PATCH 2/3] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- .github/workflows/pr-check.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index e27a47c..026116e 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -77,19 +77,16 @@ jobs: wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb sudo dpkg -i ${{ runner.temp }}/hugo.deb hugo version - - name: Install Dart Sass - env: - DART_SASS_VERSION: 1.99.0 - run: | - curl -LO https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz - tar -xzf dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz - sudo cp -r dart-sass/* /usr/local/bin/ - sass --version - uses: actions/setup-node@v6 with: node-version: lts/* + - name: Install Dart Sass + run: | + npm install -g sass + sass --version + - name: Install test dependencies run: | # Clean install of the node modules From 00d7406aad1bab37e343d66cb10c0bcb4cf2d000 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 4 May 2026 06:10:02 +0000 Subject: [PATCH 3/3] fix: pin DART_SASS_VERSION in npm install to make CI builds deterministic Agent-Logs-Url: https://github.com/github/github-well-architected/sessions/289e0064-50a6-409d-b6fd-f3058ee3dff9 Co-authored-by: KittyChiu <42864823+KittyChiu@users.noreply.github.com> --- .github/workflows/pr-check.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index 026116e..9fc08da 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -15,6 +15,7 @@ env: CI: development SITE_DIR: public HUGO_VERSION: 0.151.0 + DART_SASS_VERSION: 1.99.0 jobs: lint: @@ -84,7 +85,7 @@ jobs: - name: Install Dart Sass run: | - npm install -g sass + npm install -g sass@${DART_SASS_VERSION} sass --version - name: Install test dependencies