refactor: validation rules#861
Conversation
81c5165 to
7414fb3
Compare
https://github.com/codeigniter4/shield/actions/runs/6323482106/job/17200933174 |
f0070f5 to
7f0d5b3
Compare
|
I separated the Composer cache for lowest dependencies, but still got https://github.com/codeigniter4/shield/actions/runs/6334017276/job/17203006457?pr=861 |
|
There is a sample workflow that deletes the used cache of merged PRs. We can use that. |
|
Also, we can unify the naming of caches so that it will not create numerous caches. |
|
@paulbalandan What do you mean? |
|
We can use this sample workflow to delete the caches of merged PRs. |
|
Okay, I will remove cache manually. $ gh api -H "Accept: application/vnd.github+json" "/repos/codeigniter4/shield/actions/cache/usage"
{
"full_name": "codeigniter4/shield",
"active_caches_size_in_bytes": 173837775,
"active_caches_count": 61
} |
|
I removed some caches, but the cache usage is the same. $ gh api -H "Accept: application/vnd.github+json" "/repos/codeigniter4/shield/actions/cache/usage"
{
"full_name": "codeigniter4/shield",
"active_caches_size_in_bytes": 173837775,
"active_caches_count": 61
}Updated. $ gh api -H "Accept: application/vnd.github+json" "/repos/codeigniter4/shield/actions/cache/usage"
{
"full_name": "codeigniter4/shield",
"active_caches_size_in_bytes": 119023390,
"active_caches_count": 37
} |
|
Again No space left on device. https://github.com/codeigniter4/shield/actions/runs/6334017276/job/17203911560?pr=861 |
67c7c1d to
b319800
Compare
b319800 to
a54e614
Compare
|
I created a new PR for GitHub Actions. #863 |
a54e614 to
7a680c8
Compare
| * -------------------------------------------------------------------- | ||
| * | ||
| * @var string[] | ||
| * Do not use string rules like `required|valid_email`. |
There was a problem hiding this comment.
Ok,
shouldn't the changes be applied to the documentation?
// 'rules' => 'required|max_length[30]|min_length[3]|regex_match[/\A[a-zA-Z0-9\.]+\z/]',
'rules' => 'required|max_byte[72]',
// and ...7a680c8 to
8badb41
Compare




Description
ValidationRulesclassChecklist: