Skip to content

Commit

Permalink
[GitHUb] Fix actions using cron condition (#4468)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugtalbot authored Jan 29, 2024
1 parent 5f8685a commit 2587566
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/post-agenda-sofa-dev-meeting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down

0 comments on commit 2587566

Please sign in to comment.