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.

Commitb76571e

Browse files
committed
⚗️ Use git to push that change
1 parent4ba9cfa commitb76571e

File tree

1 file changed

+12
-18
lines changed

1 file changed

+12
-18
lines changed

‎.github/workflows/fix.yaml‎

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ jobs:
88
fix:
99
runs-on:ubuntu-latest
1010

11-
permissions:
12-
contents:write
13-
1411
steps:
1512
-uses:actions/checkout@v4
1613
-uses:pnpm/action-setup@v4
@@ -22,21 +19,18 @@ jobs:
2219
cache:pnpm
2320
-run:pnpm install
2421
-run:pnpm run lint:fix
25-
-run:|
26-
git add .
27-
git status
2822

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp