mirror of
https://github.com/ipfs/awesome-ipfs.git
synced 2024-11-20 11:28:35 -05:00
parent
b5be7e1c24
commit
76d865884c
1 changed files with 5 additions and 0 deletions
|
@ -5,6 +5,11 @@ const githubMetadata = danger.git.fileMatch('.github/**')
|
|||
const yamlData = danger.git.fileMatch('data/**')
|
||||
const scripts = danger.git.fileMatch('scripts/**')
|
||||
const src = danger.git.fileMatch('src/**')
|
||||
const readme = danger.git.fileMatch('README.md')
|
||||
|
||||
if (readme.edited) {
|
||||
fail('Please do not edit the README directly. It is generated from the data in the data/ directory.')
|
||||
}
|
||||
|
||||
if (githubMetadata.edited) {
|
||||
message('Changes were made within the .github folder.')
|
||||
|
|
Loading…
Reference in a new issue