Skip to content

Report new specs

Report new specs #252

name: Report new specs
on:
schedule:
- cron: '0 0 * * 1'
workflow_dispatch:
jobs:
find-specs:
name: Find potential new specs
runs-on: ubuntu-latest
steps:
# Starting with Ubuntu 23+, a security feature prevents running Puppeteer
# by default. It needs to be disabled. Using the "easiest" option, see:
# https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
# https://github.com/puppeteer/puppeteer/pull/13196/files
- name: Disable AppArmor
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
- 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: Find new candidate specs
run: npx find-specs --github --repos
env:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}