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