Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gabrielrufino/expect-action
Validation action
https://github.com/gabrielrufino/expect-action
actions github regex validation
Last synced: 7 days ago
JSON representation
Validation action
- Host: GitHub
- URL: https://github.com/gabrielrufino/expect-action
- Owner: gabrielrufino
- License: unlicense
- Created: 2024-07-27T12:49:50.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-11-01T14:07:51.000Z (14 days ago)
- Last Synced: 2024-11-01T14:31:49.319Z (14 days ago)
- Topics: actions, github, regex, validation
- Language: JavaScript
- Homepage:
- Size: 1.16 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Expect action
```yml
name: Validation actionon: [push]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: gabrielrufino/expect-action@v1
with:
type: 'regex'
value: '[email protected]'
pattern: '^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$'
```