Skip to content

Monitor specs

Monitor specs #32

Workflow file for this run

name: Monitor specs
on:
schedule:
- cron: '0 0 1 */2 *'
workflow_dispatch:
jobs:
find-specs:
name: Update the list of monitored specs and highlights those that have changed
runs-on: ubuntu-latest
steps:
- name: Checkout latest version of release script
uses: actions/checkout@v4
- name: Setup node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Check specs that changed since last review
run: node src/monitor-specs.js # sets review_list env variable
- name: Report specs to check in pull request
uses: peter-evans/create-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
title: Update review of monitored specs
commit-message: "Update review of monitored specs"
body: |
The following specs have been updated since the last review:
${{env.review_list}}
assignees: tidoust, dontcallmedom
branch: monitor-update
branch-suffix: timestamp