-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #510 from alphagov/split-quotes-prs
Split quotes and PRs into different workflows
- Loading branch information
Showing
3 changed files
with
44 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: "Morning Seal Quotes" | ||
|
||
on: | ||
workflow_dispatch: {} | ||
schedule: | ||
- cron: '30 7 * * 1-5' # Runs at 7:30, Monday through Friday. | ||
|
||
env: | ||
SEAL_ORGANISATION: alphagov | ||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | ||
|
||
jobs: | ||
morning-seal: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
bundler-cache: true | ||
|
||
- name: Morning Seal Quotes | ||
id: morning_seal_quotes | ||
run: | | ||
morning_quote_teams=( | ||
fun-workstream-govuk | ||
fun-workstream-gds-community | ||
govuk-green-team | ||
navigation-and-homepage-govuk | ||
dev-platform-team | ||
ai-govuk | ||
) | ||
for team in ${morning_quote_teams[*]}; do | ||
./bin/seal_runner.rb $team quotes | ||
done |