fix issue (#1104) - broken link url to CONTRIBUTING.md in github action (#1106)

This commit is contained in:
Naor Tedgi (Abu Emma)
2022-09-14 16:49:56 +03:00
committed by GitHub
parent 5194e31b07
commit 6aa2800b01

View File

@@ -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({