Skip to content

Commit 94723d3

Browse files
committed
skip validation for scheduled run
1 parent d02a559 commit 94723d3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/auto-release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ jobs:
2525
- name: Validate
2626
id: validate
2727
run: |
28+
if [ "${{ github.event_name }}" == "schedule" ]; then
29+
echo "Scheduled run - skipping user validation"
30+
echo "result=true" >> $GITHUB_OUTPUT
31+
exit 0
32+
fi
33+
2834
IFS=',' read -r -a username_array <<< "${{ secrets.ACCEPT_RELEASE_PR_ALLOW_LIST }}"
2935
user_found=false
3036
for username in "${username_array[@]}"

0 commit comments

Comments
 (0)