Skip to content

Commit f2d5065

Browse files
committed
fixup! tools: add workflow to compare Nix changes
Do not attempt to add comment on non-PR runs, i.e. when pushing to `main`.
1 parent 9efc78a commit f2d5065

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/nix-changes-comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions: {}
1111

1212
jobs:
1313
aggregate-results:
14-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
14+
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request' }}
1515
name: Aggregate results
1616
runs-on: ubuntu-slim
1717
permissions:

0 commit comments

Comments
 (0)