This action will validate that the provided string are following regex expression and matching on groups.
The verification is done using regex and in case of match the group tuple is returned.
name: My Workflow
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check content
uses: bubriks/[email protected]
with:
expression: ^contributions/(.+)/(.+)/
strings: contributions/1/2/test contributions/1/2/
groups::1 2
result::contributions/1/2/
Input | Description |
---|---|
expression |
Regex string for string verification |
strings |
List of strings to verify |
Output | Description |
---|---|
groups |
The matching groups (based on regex) |
result |
Result of the matching |
String verifier is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.