Skip to content

Migrate KIC docs to legacy site #13963

Migrate KIC docs to legacy site

Migrate KIC docs to legacy site #13963

name: Handle Autogenerated Content
on:
pull_request:
types: [opened, synchronize, labeled, unlabeled]
jobs:
add-comment:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- name: Add warning if needed
run: |
cd check-generated-content
npm ci
node run.js
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ github.event.action == 'opened' || github.event.action == 'synchronize' }}
prevent-merge-if-labeled:
runs-on: ubuntu-latest
steps:
- uses: mheap/github-action-required-labels@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
mode: exactly
count: 0
labels: "ci:prevent-merge:generated-files"