Skip to content

Commit 90822ab

Browse files
committed
ci: only post comments on pull requests
1 parent 77b0b1d commit 90822ab

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/comment.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
name: Publish Results
3535
runs-on: ubuntu-24.04
3636
needs: [analyze_flash]
37+
if: ${{ github.event.pull_request }}
3738
steps:
3839
- name: Find Comment
3940
uses: peter-evans/find-comment@v3
@@ -43,11 +44,6 @@ jobs:
4344
comment-author: 'github-actions[bot]'
4445
body-includes: "Current Date"
4546

46-
- name: Set Build Time
47-
id: bt
48-
run: |
49-
echo "timestamp=$(date +'%Y-%m-%dT%H:%M:%S')" >> $GITHUB_OUTPUT
50-
5147
- name: Create or update comment
5248
uses: peter-evans/create-or-update-comment@v4
5349
with:

0 commit comments

Comments
 (0)