Skip to content

Commit 982075e

Browse files
authored
Merge pull request #2572 from tekktrik/fix/fix-releases
Fix check for adabot scheduled release
2 parents 3a09f79 + 736e02e commit 982075e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/arduino_cron.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
- uses: actions/checkout@v3
1616
with:
1717
fetch-depth: 2
18-
- name: Check if scheduled
18+
- name: Check if run by adabot
1919
id: check-cron
2020
run: |
2121
iscron=false
22-
[[ "${{ github.event_name }}" == "schedule" ]] && iscron=true
22+
[[ "${{ github.event_name }}" == "push" && "${{ github.actor }}" == "adabot" ]] && iscron=true
2323
echo "status=$iscron" >> "$GITHUB_OUTPUT"
2424
- name: Check if dispatched
2525
id: check-dispatch

0 commit comments

Comments
 (0)