From 39cefa86ec300d95729405b3cbdcd35f80749995 Mon Sep 17 00:00:00 2001 From: zer0Kerbal <39887717+zer0Kerbal@users.noreply.github.com> Date: Wed, 28 Dec 2022 22:32:07 -0600 Subject: [PATCH] Create AVC-VersionFileValidator.yml --- .../workflows/AVC-VersionFileValidator.yml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/AVC-VersionFileValidator.yml diff --git a/.github/workflows/AVC-VersionFileValidator.yml b/.github/workflows/AVC-VersionFileValidator.yml new file mode 100644 index 0000000..76dd113 --- /dev/null +++ b/.github/workflows/AVC-VersionFileValidator.yml @@ -0,0 +1,27 @@ +# v1.4.1 +# update checkout to v3.0.2 +# update AVC to v1.4 +# This is a standard workflow to validate all .version files +# found in the root directory of the repository and any subdirectories, +# whenever something is pushed to any branch in the repository, or to a "foreign" branch active in a pull request. +# It should cover most cases. + +name: AVC .version file validation +on: + push: + branches: + - master + pull_request: + types: [opened, synchronize, reopened] + workflow_dispatch: + +jobs: + validate_version_files: + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@v3.0.2 + with: + fetch-depth: 1 + - name: Validate files + uses: DasSkelett/AVC-VersionFileValidator@master