Skip to content

Commit

Permalink
fix: warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
sushichan044 committed Oct 21, 2024
1 parent 280f341 commit a753f26
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ jobs:
run: |
# Edit the last comment if it exists
if [ ! -f COMMENT.md ]; then
echo "::warn::comment body not found."
echo "::warning::comment body not found."
exit 0
fi
Expand Down
19 changes: 9 additions & 10 deletions .github/workflows/update-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,13 @@ jobs:
if: needs.check-target-packages.outputs.stylelint == 'true'
run: pnpm run build:stylelint && pnpm run test --project stylelint-config -u

- name: Commit and Push Changes
run: |
set -eu
git add .
git commit -m "chore: update snapshot (github-actions)"
git push origin HEAD
- name: Create change summary markdown
run: |
set -eu
Expand All @@ -180,20 +187,12 @@ jobs:
echo "- Stylelint" >> CHANGES.md
fi
- name: Commit and Push Changes
run: |
set -eu
git add .
git reset -- CHANGES.md
git commit -m "chore: update snapshot (github-actions)"
git push origin HEAD
- name: Comment to PR (Issue Comment)
if: github.event_name == 'issue_comment'
run: |
set -eu
if [ ! -f CHANGES.md ]; then
echo "::warn::comment body not found."
echo "::warning::comment body not found."
exit 0
fi
Expand All @@ -207,7 +206,7 @@ jobs:
run: |
set -eu
if [ ! -f CHANGES.md ]; then
echo "::warn::comment body not found."
echo "::warning::comment body not found."
exit 0
fi
Expand Down

0 comments on commit a753f26

Please sign in to comment.