Seal PRs #187
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
name: "Seal PRs" | |
on: | |
workflow_dispatch: {} | |
schedule: | |
- cron: '30 7 * * 1-5' # Runs at 7:30 UTC, Monday through Friday. | |
env: | |
SEAL_ORGANISATION: alphagov | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
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: Seal PRs | |
id: seal_prs | |
run: | | |
./bin/seal_runner.rb seal_prs |