Skip to content

Bug/sales item account #165

Bug/sales item account

Bug/sales item account #165

Workflow file for this run

name: 'check docs'
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
changed-files:
runs-on: ubuntu-latest
name: test changed-files
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v29.0.4
with:
files: docs/**
- name: Check to see if docs folder hasn't changed
if: steps.changed-files.outputs.any_changed == 'false'
run: |
echo "Docs have not been regenerated."
exit 1
- name: Check if docs folder has changed
if: steps.changed-files.outputs.any_changed == 'true'
run: |
echo "Docs have been regenerated!"
exit 0