Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A0-3312: Add match-against-regexp action #22

Merged
13 commits merged into from
Oct 31, 2023
Merged

Conversation

ghost
Copy link

@ghost ghost commented Oct 31, 2023

Simple regexp action to move validating input to javascript code and minify number of lines.
As shown in the test workflow:

      - name: Check with invalid values
        id: should-fail
        continue-on-error: true
        uses: ./match-against-regexp
        with:
          values: |-
            aaa
            abd123
            tomato
          regexps: |-
            [0-9]+
            [a-z0-9]+
            apple|banana|lichi

@ghost ghost self-assigned this Oct 31, 2023
@ghost ghost changed the title A0-3312: Add validate-inputs action A0-3312: Add match-against-regexp action Oct 31, 2023
@ghost ghost requested a review from Marcin-Radecki October 31, 2023 12:19
@ghost ghost merged commit b926212 into main Oct 31, 2023
3 of 4 checks passed
@ghost ghost deleted the A0-3312-add-input-validator branch October 31, 2023 12:33
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants