From bd69233712bd4b812955ba9f80b18749a463d8b2 Mon Sep 17 00:00:00 2001 From: Raphael Mobis Tacla Date: Thu, 3 Sep 2026 00:41:55 -0300 Subject: [PATCH 1/4] don't skip ci fix when sensitive files were changed --- .github/workflows/fix-and-lint.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/fix-and-lint.yml b/.github/workflows/fix-and-lint.yml index 58f8f71..999bbec 100644 --- a/.github/workflows/fix-and-lint.yml +++ b/.github/workflows/fix-and-lint.yml @@ -74,8 +74,7 @@ jobs: needs: check-sensitive if: | always() && - needs.check-sensitive.outputs.skip_fix != 'true' && - needs.check-sensitive.outputs.require_approval == 'true' + needs.check-sensitive.outputs.require_approval != 'false' outputs: changes_detected: false From 8bb6afd9b9388bae2ed37af9cc5490a48ee6f39d Mon Sep 17 00:00:00 2001 From: Raphael Mobis Tacla Date: Thu, 3 Sep 2026 00:44:36 -0300 Subject: [PATCH 2/4] test --- .github/workflows/fix-and-lint.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/fix-and-lint.yml b/.github/workflows/fix-and-lint.yml index 999bbec..4f6f27f 100644 --- a/.github/workflows/fix-and-lint.yml +++ b/.github/workflows/fix-and-lint.yml @@ -36,6 +36,7 @@ jobs: echo 'commit_message<> $GITHUB_OUTPUT git log -1 --pretty=%B ${{ github.event.pull_request.head.sha }} >> $GITHUB_OUTPUT echo 'EOF' >> $GITHUB_OUTPUT + git log fix: name: Fix From dd1744f7d30f5d9a2ade836fe7443320d6e18760 Mon Sep 17 00:00:00 2001 From: Raphael Mobis Tacla Date: Thu, 3 Sep 2026 00:45:41 -0300 Subject: [PATCH 3/4] test --- .github/workflows/fix-and-lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fix-and-lint.yml b/.github/workflows/fix-and-lint.yml index 4f6f27f..06ff550 100644 --- a/.github/workflows/fix-and-lint.yml +++ b/.github/workflows/fix-and-lint.yml @@ -33,10 +33,10 @@ jobs: - name: Get Latest Commit Message id: skip-fix run: | + git log echo 'commit_message<> $GITHUB_OUTPUT git log -1 --pretty=%B ${{ github.event.pull_request.head.sha }} >> $GITHUB_OUTPUT echo 'EOF' >> $GITHUB_OUTPUT - git log fix: name: Fix From 806ae6e18099af407fcbc6e35f4e5ba6f4f3d428 Mon Sep 17 00:00:00 2001 From: Raphael Mobis Tacla Date: Thu, 3 Sep 2026 00:51:00 -0300 Subject: [PATCH 4/4] test --- .github/workflows/fix-and-lint.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/fix-and-lint.yml b/.github/workflows/fix-and-lint.yml index 06ff550..10bc381 100644 --- a/.github/workflows/fix-and-lint.yml +++ b/.github/workflows/fix-and-lint.yml @@ -17,7 +17,10 @@ jobs: - name: Checkout Repository uses: actions/checkout@v7 with: + repository: ${{ github.event.pull_request.head.repo.full_name }} + ref: ${{ github.head_ref }} fetch-depth: 2 + allow-unsafe-pr-checkout: true - name: Check Changed Sensitive Files id: changed-sensitive