From a712ca82f40b31f9dae5022aa7fe2a60ec33f055 Mon Sep 17 00:00:00 2001 From: Nathan Gendron Date: Tue, 12 Nov 2024 13:20:46 -0500 Subject: [PATCH 1/7] =?UTF-8?q?=F0=9F=91=B7=20Use=20actions--create-commit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/fix.yaml | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/.github/workflows/fix.yaml b/.github/workflows/fix.yaml index fdd8e489..864b3cf4 100644 --- a/.github/workflows/fix.yaml +++ b/.github/workflows/fix.yaml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - ref: ${{ github.head_ref }} + ref: ${{ github.ref }} - uses: pnpm/action-setup@v4 with: version: latest @@ -25,17 +25,13 @@ jobs: - run: pnpm install - run: pnpm run lint:fix - - id: diff - run: | - if [[ -n $(git status --porcelain) ]]; then - echo 'changes=true' >>"$GITHUB_OUTPUT" - fi - - - if: steps.diff.outputs.changes == 'true' - name: Commit and push - run: | - git config user.name 'github-actions[bot]' - git config user.email '41898282+github-actions[bot]@users.noreply.github.com' + - uses: qoomon/actions--create-commit@v1 + id: actions--create-commit + with: + message: | + 🎨 pnpm run lint:fix + github-actions[bot] + skip-empty: true - git commit --all --message '🎨 pnpm run lint:fix' --message '[dependabot skip]' - git push + - if: ${{ steps.actions--create-commit.outputs.commit }} + run: git push From 9b91b85064b3f7a80e761615347fe4be2c613e0d Mon Sep 17 00:00:00 2001 From: Nathan Gendron Date: Tue, 12 Nov 2024 13:21:28 -0500 Subject: [PATCH 2/7] =?UTF-8?q?=F0=9F=92=A9=20Add=20an=20error=20to=20test?= =?UTF-8?q?=20the=20auto-fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5a62316d..3f585edb 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@

-# CodeRabbit Documentation + # CodeRabbit Documentation Welcome to the official docs for [**CodeRabbit**](https://coderabbit.ai), the code review dev tool that helps you ship quality code faster. From bd34a925b005b9f9fb74af86dc37f0c2de039964 Mon Sep 17 00:00:00 2001 From: Nathan Gendron Date: Tue, 12 Nov 2024 13:25:15 -0500 Subject: [PATCH 3/7] =?UTF-8?q?=F0=9F=91=B7=20ref:=20${{=20github.head=5Fr?= =?UTF-8?q?ef=20}}?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/fix.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/fix.yaml b/.github/workflows/fix.yaml index 864b3cf4..b7d9ddff 100644 --- a/.github/workflows/fix.yaml +++ b/.github/workflows/fix.yaml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - ref: ${{ github.ref }} + ref: ${{ github.head_ref }} - uses: pnpm/action-setup@v4 with: version: latest From 0a38655be2d245aef00b7607aa472a3e6ef2c270 Mon Sep 17 00:00:00 2001 From: Nathan Gendron Date: Mon, 18 Nov 2024 11:10:46 -0500 Subject: [PATCH 4/7] =?UTF-8?q?=F0=9F=91=B7=20git=20add=20.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/fix.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/fix.yaml b/.github/workflows/fix.yaml index b7d9ddff..808634eb 100644 --- a/.github/workflows/fix.yaml +++ b/.github/workflows/fix.yaml @@ -24,6 +24,7 @@ jobs: cache: pnpm - run: pnpm install - run: pnpm run lint:fix + - run: git add . - uses: qoomon/actions--create-commit@v1 id: actions--create-commit From 42251db717d21ad6596f6ecf9a550104588db218 Mon Sep 17 00:00:00 2001 From: Nathan Gendron Date: Mon, 18 Nov 2024 11:14:40 -0500 Subject: [PATCH 5/7] =?UTF-8?q?=F0=9F=91=B7=20Change=20commit=20message?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/fix.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/fix.yaml b/.github/workflows/fix.yaml index 808634eb..88b67528 100644 --- a/.github/workflows/fix.yaml +++ b/.github/workflows/fix.yaml @@ -31,7 +31,8 @@ jobs: with: message: | 🎨 pnpm run lint:fix - github-actions[bot] + + [dependabot skip] skip-empty: true - if: ${{ steps.actions--create-commit.outputs.commit }} From f4c7f93f8afb7a7836ff49c26a78e8e904c328ac Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 16:15:25 +0000 Subject: [PATCH 6/7] =?UTF-8?q?=F0=9F=8E=A8=20pnpm=20run=20lint:fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [dependabot skip] --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3f585edb..5a62316d 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@

- # CodeRabbit Documentation +# CodeRabbit Documentation Welcome to the official docs for [**CodeRabbit**](https://coderabbit.ai), the code review dev tool that helps you ship quality code faster. From 40065f449dce3e3c0b6741374ac33f5c0a3df21a Mon Sep 17 00:00:00 2001 From: Nathan Gendron Date: Mon, 18 Nov 2024 11:20:49 -0500 Subject: [PATCH 7/7] =?UTF-8?q?=F0=9F=91=B7=20Skip=20fix=20when=20last=20p?= =?UTF-8?q?ush=20by=20@github-actions[bot]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/fix.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/fix.yaml b/.github/workflows/fix.yaml index 88b67528..438cab16 100644 --- a/.github/workflows/fix.yaml +++ b/.github/workflows/fix.yaml @@ -11,6 +11,8 @@ jobs: permissions: contents: write + if: github.actor != 'github-actions[bot]' + steps: - uses: actions/checkout@v4 with: pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy