Skip to content

Instantly share code, notes, and snippets.

@Tilation
Created December 17, 2022 03:31
Show Gist options
  • Save Tilation/7933d25f0a3a9291d73881f4d6188733 to your computer and use it in GitHub Desktop.
Save Tilation/7933d25f0a3a9291d73881f4d6188733 to your computer and use it in GitHub Desktop.
github action for extensive regex, without doing a git checkout
name: Regex on repo
on:
push:
jobs:
regex:
runs-on: ubuntu-latest
steps:
- name: Regex On Repo
uses: tilation/[email protected]
with:
github: ${{ github.repository }}
ref: 'main'
token: ${{ secrets.GITHUB_TOKEN }} # must have read access to the repository
regex: '`([^`\W]+)`'
file: 'README.md'
debug: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment