Skip to content

update of draft policy #284

update of draft policy

update of draft policy #284

name: Update on push
on:
push:
branches:
- master
- workflow-tests
pull_request:
types: [closed]
jobs:
changes:
runs-on: ubuntu-latest
steps:
- name: Bring in repo
uses: actions/checkout@v2
- id: file_changes
uses: trilom/file-changes-action@v1.2.4
with:
output: ','
outputs:
files-added: ${{ steps.file_changes.outputs.files_added }}
files-modified: ${{ steps.file_changes.outputs.files_modified }}
files-removed: ${{ steps.file_changes.outputs.files_removed }}
has-changes: ${{ steps.file_changes.outputs.files && 'true' || '' }}
call-entail-validate-changes-workflow:
needs: changes
if: needs.changes.outputs.has-changes == 'true'
uses: ./.github/workflows/entail_and_validate_changes.yml
secrets: inherit
with:
files-added: ${{ needs.changes.outputs.files-added }}
files-modified: ${{ needs.changes.outputs.files-modified }}
files-removed: ${{ needs.changes.outputs.files-removed }}
repo-ref: ${{ github.ref_name }}