Created
December 17, 2022 03:31
-
-
Save Tilation/7933d25f0a3a9291d73881f4d6188733 to your computer and use it in GitHub Desktop.
github action for extensive regex, without doing a git checkout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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