Skip to content

unmount recursively (but privately) when undoing bind mount from host #150

unmount recursively (but privately) when undoing bind mount from host

unmount recursively (but privately) when undoing bind mount from host #150

Workflow file for this run

name: Do docs need to be updated?
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
name: documentation-check
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get info on if image definition has changed
id: changed-files-image-def
uses: tj-actions/changed-files@v32
with:
files: |
internal/imagedefinition/image_definition.go
- name: Get info on if image definition README was updated
id: changed-files-image-def-readme
uses: tj-actions/changed-files@v32
with:
files: |
internal/imagedefinition/README.rst
- name: test struct boolean
if: steps.changed-files-image-def.outputs.any_changed == 'true'
run: |
echo "Struct has changed"
- name: test struct README
if: steps.changed-files-image-def-reamde.outputs.any_changed != 'true'
run: |
echo "README has not changed"
- name: Fail if image definition README has not been updated
if: steps.changed-files-image-def.outputs.any_changed == 'true' && steps.changed-files-image-def-readme.outputs.any_changed != true
run: |
echo "Image Definition struct has changed but README was not updated"
exit 1
- name: Get info on if command options or flags have changed
id: changed-files-flags
uses: tj-actions/changed-files@v32
with:
files: |
internal/commands/*
- name: Fail if command line args have changed but manpage has not been updated
if: steps.changed-files-flags.outputs.any_changed == 'true' && contains(steps.changed-files-flags.outputs.changed_files, 'ubuntu-image.rst') != true
run: |
echo "Command line flags have been updated but the manpage has not"
exit 1