diff --git a/.github/workflows/post-agenda-sofa-dev-meeting.yml b/.github/workflows/post-agenda-sofa-dev-meeting.yml index 52a634a6cef..9d6561daf7a 100644 --- a/.github/workflows/post-agenda-sofa-dev-meeting.yml +++ b/.github/workflows/post-agenda-sofa-dev-meeting.yml @@ -23,7 +23,7 @@ jobs: # Monday message : agenda - name: Run script post-discord-message.py - if: ${{ github.event.scheduled_time | date('%-u') == '1' }} + if: github.event.schedule == '30 7 * * 1' run: | python scripts/discord/post-discord-message.py working-directory: ${{ github.workspace }} @@ -37,7 +37,7 @@ jobs: # Wednesday message : get ready - name: Run script post-discord-message.py - if: ${{ github.event.scheduled_time | date('%-u') == '3' }} + if: github.event.schedule == '0 6 * * 3' run: | python scripts/discord/post-discord-message.py working-directory: ${{ github.workspace }}