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.

Commit5224d4a

Browse files
👷 actions--create-commit (#143)
* 👷 Use actions--create-commit* 💩 Add an error to test the auto-fix* 👷 ref: ${{ github.head_ref }}* 👷 git add .* 👷 Change commit message* 🎨 pnpm run lint:fix[dependabot skip]---------Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent4139156 commit5224d4a

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

‎.github/workflows/fix.yaml‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
permissions:
1212
contents:write
1313

14+
if:github.actor != 'github-actions[bot]'
15+
1416
steps:
1517
-uses:actions/checkout@v4
1618
with:
@@ -24,18 +26,16 @@ jobs:
2426
cache:pnpm
2527
-run:pnpm install
2628
-run:pnpm run lint:fix
29+
-run:git add .
2730

28-
-id:diff
29-
run:|
30-
if [[ -n $(git status --porcelain) ]]; then
31-
echo 'changes=true' >>"$GITHUB_OUTPUT"
32-
fi
31+
-uses:qoomon/actions--create-commit@v1
32+
id:actions--create-commit
33+
with:
34+
message:|
35+
🎨 pnpm run lint:fix
3336
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'
37+
[dependabot skip]
38+
skip-empty:true
3939

40-
git commit --all --message '🎨 pnpm run lint:fix' --message '[dependabot skip]'
41-
git push
40+
-if:${{ steps.actions--create-commit.outputs.commit }}
41+
run:git push

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp