We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bfc619 commit 1f8e7e4Copy full SHA for 1f8e7e4
1 file changed
.github/workflows/analyze.yml
@@ -57,7 +57,7 @@ jobs:
57
- name: Copy files to results bucket
58
run: aws s3 cp ./results s3://cellpack-results/${{ github.ref_name }}/ --recursive --acl public-read
59
- name: Update comment for dependabot
60
- if: ${{ github.actor == 'dependabot[bot]' }}
+ if: ${{ github.event_name == 'pull_request' && github.actor == 'dependabot[bot]' }}
61
env:
62
GH_TOKEN: ${{ secrets.DEPENDABOT_TOKEN }}
63
run: |
@@ -70,7 +70,7 @@ jobs:
70
echo -e "$COMMENT_BODY" | gh pr comment ${{ github.event.pull_request.number }} --body-file -
71
cat ./results/analysis_report.md
72
- name: Update comment for PR
73
- if: ${{ github.actor != 'dependabot[bot]' }}
+ if: ${{ github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' }}
74
75
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
76
0 commit comments