Skip to content

Commit

Permalink
refactor: mentions to BirthdayResearch and bump deps (#147)
Browse files Browse the repository at this point in the history
* refactor: mentions to BirthdayResearch and bump deps

* npm run all

* fix package-lock.json
  • Loading branch information
fuxingloh authored Jun 2, 2022
1 parent 81fbd8b commit 52367df
Show file tree
Hide file tree
Showing 12 changed files with 183 additions and 157 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ labels: kind/bug
<!--
Please use this template while reporting a bug and provide as much info as possible.
If the matter is security related, please disclose it privately via oss@defichain.com
If the matter is security related, please disclose it privately via oss@birthday.dev
-->

#### What happened:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/general.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ labels: kind/question
---

<!--
If the matter is security related, please disclose it privately via oss@defichain.com
If the matter is security related, please disclose it privately via oss@birthday.dev
-->

5 changes: 2 additions & 3 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
MIT License

Copyright (c) 2021-2021 Fuxing Loh
Copyright (c) DeFiChain Foundation
Copyright (c) DeFiChain OSS Governance Bot Contributors
Copyright (c) Fuxing Loh
Copyright (c) BirthdayResearch OSS Governance Bot Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
15 changes: 9 additions & 6 deletions __tests__/github.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ it('Organization: should format details as expected', async () => {
'\n' +
'<details><summary>Details</summary>' +
'\n\n' +
'I am a bot created to help the [Codertocat](https://github.com/Codertocat/) developers manage community feedback and contributions. You can check out my [manifest file](https://github.com/Codertocat/Hello-World/blob/main/config-path/location.yml) to understand my behavior and what I can do. If you want to use this for your project, you can check out the [DeFiCh/oss-governance-bot](https://github.com/DeFiCh/oss-governance-bot) repository.' +
'I am a bot created to help the [Codertocat](https://github.com/Codertocat/) developers manage community feedback and contributions. You can check out my [manifest file](https://github.com/Codertocat/Hello-World/blob/main/config-path/location.yml) to understand my behavior and what I can do. If you want to use this for your project, you can check out the [BirthdayResearch/oss-governance-bot](https://github.com/BirthdayResearch/oss-governance-bot) repository.' +
'\n\n' +
'</details>'
})
Expand Down Expand Up @@ -132,7 +132,7 @@ it('User: should format details as expected', async () => {
'\n' +
'<details><summary>Details</summary>' +
'\n\n' +
'I am a bot created to help [Codertocat](https://github.com/Codertocat/) manage community feedback and contributions. You can check out my [manifest file](https://github.com/Codertocat/Hello-World/blob/main/config-path/location.yml) to understand my behavior and what I can do. If you want to use this for your project, you can check out the [DeFiCh/oss-governance-bot](https://github.com/DeFiCh/oss-governance-bot) repository.' +
'I am a bot created to help [Codertocat](https://github.com/Codertocat/) manage community feedback and contributions. You can check out my [manifest file](https://github.com/Codertocat/Hello-World/blob/main/config-path/location.yml) to understand my behavior and what I can do. If you want to use this for your project, you can check out the [BirthdayResearch/oss-governance-bot](https://github.com/BirthdayResearch/oss-governance-bot) repository.' +
'\n\n' +
'</details>'
})
Expand All @@ -147,11 +147,14 @@ describe('commit status', () => {
issue: {
number: 1,
pull_request: {
diff_url: 'https://github.com/DeFiCh/oss-governance-bot/pull/9.diff',
html_url: 'https://github.com/DeFiCh/oss-governance-bot/pull/9',
diff_url:
'https://github.com/BirthdayResearch/oss-governance-bot/pull/9.diff',
html_url:
'https://github.com/BirthdayResearch/oss-governance-bot/pull/9',
patch_url:
'https://github.com/DeFiCh/oss-governance-bot/pull/9.patch',
url: 'https://api.github.com/repos/DeFiCh/oss-governance-bot/pulls/9'
'https://github.com/BirthdayResearch/oss-governance-bot/pull/9.patch',
url:
'https://api.github.com/repos/BirthdayResearch/oss-governance-bot/pulls/9'
}
}
}
Expand Down
9 changes: 5 additions & 4 deletions __tests__/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,13 @@ describe('getGovernance', () => {
number: 1,
pull_request: {
diff_url:
'https://github.com/DeFiCh/oss-governance-bot/pull/9.diff',
html_url: 'https://github.com/DeFiCh/oss-governance-bot/pull/9',
'https://github.com/BirthdayResearch/oss-governance-bot/pull/9.diff',
html_url:
'https://github.com/BirthdayResearch/oss-governance-bot/pull/9',
patch_url:
'https://github.com/DeFiCh/oss-governance-bot/pull/9.patch',
'https://github.com/BirthdayResearch/oss-governance-bot/pull/9.patch',
url:
'https://api.github.com/repos/DeFiCh/oss-governance-bot/pulls/9'
'https://api.github.com/repos/BirthdayResearch/oss-governance-bot/pulls/9'
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion __tests__/rules/ignore.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function set(
action: action,
sender: {
type: userType,
login: 'defichain-bot',
login: 'birthday-bot',
id: 100000
},
...options
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 'OSS Governance Bot'
description: 'Speed up issue triaging with automated chat-bot and chat-ops operations with quality control hierarchy'
author: 'DeFiChain Foundation'
author: 'BirthdayResearch'
branding:
icon: zap
color: white
Expand Down
38 changes: 28 additions & 10 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 52367df

Please sign in to comment.