Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 16, 2025. It is now read-only.

Commitb07b6c6

Browse files
👷 Only run autofix on pull requests (#130)
* 👷 Only run autofix on pull requests* 💚 Specify branch name* ⚗️ Push to origin ref* ⚗️ Push to head_ref* ⚗️ Push to an imaginary upstream* 🔊 Show git status after commit* ⚗️ Use git to push that change* ⚗️ Checkout with ref: head_ref* 🎨 pnpm run lint:fix[dependabot skip]* 👷 Give write content permission to override the default---------Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent7abbc41 commitb07b6c6

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

‎.github/workflows/fix.yaml‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name:Fix
22

33
on:
4-
push:
5-
branches:main
64
pull_request:
75
branches:main
86

@@ -15,6 +13,8 @@ jobs:
1513

1614
steps:
1715
-uses:actions/checkout@v4
16+
with:
17+
ref:${{ github.head_ref }}
1818
-uses:pnpm/action-setup@v4
1919
with:
2020
version:latest
@@ -24,18 +24,18 @@ jobs:
2424
cache:pnpm
2525
-run:pnpm install
2626
-run:pnpm run lint:fix
27-
-run:|
28-
git add .
29-
git status
3027

31-
-uses:qoomon/actions--create-commit@v1
32-
id:actions--create-commit
33-
with:
34-
message:|
35-
🎨 pnpm run lint:fix
28+
-id:diff
29+
run:|
30+
if [[ -n $(git status --porcelain) ]]; then
31+
echo 'changes=true' >>"$GITHUB_OUTPUT"
32+
fi
3633
37-
[dependabot skip]
38-
skip-empty:true
39-
token:${{ secrets.GITHUB_TOKEN }}
34+
-if:steps.diff.outputs.changes == 'true'
35+
name:Commit and push
36+
run:|
37+
git config user.name 'github-actions[bot]'
38+
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
4039
41-
-run:git push
40+
git commit --all --message '🎨 pnpm run lint:fix' --message '[dependabot skip]'
41+
git push

‎docs/changelog.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ sidebar_position: 9
1212
We've improved our Learnings and Metrics accessibility for Self-Hosted CodeRabbit customers to provide a more seamless experience. Track learning patterns and insights more easily, with API key generation now available directly from the interface.
1313

1414
**Setup:**
15+
1516
- Generate an API key in the CodeRabbit UI
1617
- Enable Learnings and Metrics by:
17-
- Configuring your .env file, or
18-
- Contacting CodeRabbit support for assistance
19-
18+
- Configuring your .env file, or
19+
- Contacting CodeRabbit support for assistance
2020

2121
##October 30, 2024
2222

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp