mirror of
https://github.com/MunGell/awesome-for-beginners.git
synced 2026-01-24 04:19:06 -08:00
This commit is contained in:
committed by
GitHub
parent
5194e31b07
commit
6aa2800b01
2
.github/workflows/invalid.yml
vendored
2
.github/workflows/invalid.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
|||||||
issue_number: context.issue.number,
|
issue_number: context.issue.number,
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
body: 'This PR is not valid. Please read [contributing guidelines](https://github.com/MunGell/awesome-for-beginners/CONTRIBUTING.md).'
|
body: 'This PR is not valid. Please read [contributing guidelines](https://github.com/MunGell/awesome-for-beginners/blob/main/CONTRIBUTING.md).'
|
||||||
});
|
});
|
||||||
if (context.payload.pull_request.labels.indexOf('Invalid') === -1) {
|
if (context.payload.pull_request.labels.indexOf('Invalid') === -1) {
|
||||||
await github.rest.issues.addLabels({
|
await github.rest.issues.addLabels({
|
||||||
|
|||||||
Reference in New Issue
Block a user