Skip to content

Commit 14ea501

Browse files
authored
Use correct bot name (crewAIInc#369)
1 parent 1064352 commit 14ea501

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/generate-tool-specs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111

1212
jobs:
1313
generate-specs:
14-
if: github.event.commits[0].author.name != 'github-actions[bot]'
14+
if: github.event.pusher.name != 'crewai-tools-spec-generator[bot]'
1515
runs-on: ubuntu-latest
1616
outputs:
1717
specs_changed: ${{ steps.check_changes.outputs.specs_changed }}
@@ -74,7 +74,7 @@ jobs:
7474
delete-branch: false
7575

7676
notify-api:
77-
if: github.event.commits[0].author.name == 'github-actions[bot]'
77+
if: github.event.pusher.name == 'crewai-tools-spec-generator[bot]'
7878
runs-on: ubuntu-latest
7979
steps:
8080
- name: Notify API about tool specification update

0 commit comments

Comments
 (0)