Skip to content

Find outdated versions #30

Find outdated versions

Find outdated versions #30

Workflow file for this run

# This workflow looks for references to old Edge versions in the docs.
# When outdated versions are found, an issue is created.
name: Find outdated versions
on:
workflow_dispatch:
schedule:
# once a month
- cron: '0 0 1 * *'
jobs:
check-old-versions:
name: Check for references of old versions of Edge
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Install dependencies
run: |
cd scripts
npm install
- name: Run script
id: findversions
run: |
cd scripts
# This script will store a string report in the output `report`.
node find-references-to-old-versions.js
- name: Create an issue
uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CONTENT: ${{ steps.findversions.outputs.report }}
with:
filename: .github/old_version_issue.md