Skip to content

Commit b3ed535

Browse files
authored
✨ feat: support bypass CI by approve (#9)
1 parent 3c437e9 commit b3ed535

File tree

7 files changed

+2107
-1977
lines changed

7 files changed

+2107
-1977
lines changed

.github/workflows/example-workflow.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ jobs:
4545
"type": "commented",
4646
"comment-pattern": [".+/bypass example.+", ".+/bypass all.+"],
4747
"username": ["SigureMo"]
48+
},
49+
{
50+
"type": "approved",
51+
"username": ["SigureMo", "gouzil"]
4852
}
4953
]
5054
}

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ inputs:
3636
comment-pattern:
3737
description: 'Comment regex pattern, can be a string or an array of strings separated by |'
3838
required: false
39-
# For commented rule
39+
# For composite rule
4040
composite-rule:
4141
description: 'Use any, all or not to combine multiple rules, need to be a JSON string'
4242
required: false

0 commit comments

Comments
 (0)