Skip to content

Commit

Permalink
ci: add 'since' input; scheduled run Monday 16:30Z (#18)
Browse files Browse the repository at this point in the history
This adds a `since` input to the meeting slides run to allow for deviations from the default '1 week ago' durations. Also changes the scheduled run time to Monday 16:30 UTC, 12:30 EDT.
  • Loading branch information
wdconinc committed Sep 3, 2022
1 parent ba17b48 commit 80bf0ef
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/generate-weekly-meeting-slides.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
name: generate-weekly-meeting-slides
on:
schedule:
- cron: '30 11 * * 1' # 11:30 UTC = 07:30 EDT on Monday
- cron: '30 16 * * 1' # 16:30 UTC = 12:30 EDT on Monday
workflow_dispatch:
inputs:
since:
description: 'Since when to generate slides'
required: false
type: string
default: '1 week ago'

jobs:
generate-weekly-meeting-slides:
runs-on: ubuntu-latest
steps:
- uses: eic/generate-meeting-slides@v2
with:
since: "1 week ago"
since: ${{ inputs.since || '1 week ago' }}
config: |
repos:
- name: ${{ github.repository }}
Expand Down

0 comments on commit 80bf0ef

Please sign in to comment.