Skip to content

[pull] main from KelvinTegelaar:main #1

[pull] main from KelvinTegelaar:main

[pull] main from KelvinTegelaar:main #1

---
name: Check for Version Update
on:
pull_request:
branches: [master, main]
workflow_dispatch:
jobs:
build:
if: github.repository_owner == 'KelvinTegelaar'
name: 'Check for Version Update'
runs-on: ubuntu-latest
steps:
- name: Check for Changed Files
uses: brettcannon/[email protected]
with:
file-pattern: version_latest.txt
failure-message: 'You have not updated version_latest.txt. This is a required file to update at each PR. Please sync your latest changes and update the version number.'
- name: Prevent changes to workflow files
uses: DovnarAlexander/[email protected]
with:
wildcard: '.github/workflows/*.yml'
exit_code_found: 1
exit_code_not_found: 0