Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

# Expect

```yml
name: Validation action

on: [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,}$'
```