From bdd17173b22f0d1336e5e4e70a65da3551994332 Mon Sep 17 00:00:00 2001 From: UltraProdigy <187078471+UltraProdigy@users.noreply.github.com> Date: Sat, 23 May 2026 17:14:22 -0400 Subject: [PATCH] Base OI PRs on Source Branch (#65) --- .github/workflows/optimize-images.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/optimize-images.yml b/.github/workflows/optimize-images.yml index 0fd4aa8..4d5eac2 100644 --- a/.github/workflows/optimize-images.yml +++ b/.github/workflows/optimize-images.yml @@ -15,6 +15,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + with: + ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} - name: Install optipng run: |