name: Check version on: pull_request: branches: - master types: [opened, synchronize] jobs: build: runs-on: ubuntu-18.04 steps: - uses: simplybusiness/version-forget-me-not@v2 env: ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} VERSION_FILE_PATH: "lib/twiglet/version.rb"