Skip to content

Commit

Permalink
do not ignore event config json in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerboa-app committed Jan 19, 2024
1 parent 53cb075 commit 524bf79
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ target/
*.stats*
.vscode
config.json
event_config.json
event_config.json
!tests/event_config.json
56 changes: 56 additions & 0 deletions tests/event_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"github_released":
{
"hmac": "this_is_secret_number_one",
"templates":
[
{
"check_value_path": "",
"check_value": "",
"body": "New release!"
}
],
"end_point": { "addr": "" },
"dont_message_on_private_repos": true
},
"github_starred":
{
"hmac": "this_is_secret_number_one",
"templates":
[
{
"check_value_path": "action",
"check_value": "created",
"body": "<repository/name> just got a new star! That makes <repository/stargazers_count>"
},
{
"check_value_path": "action",
"check_value": "deleted",
"body": "<repository/name> just lost a star :cry: That makes <repository/stargazers_count>"
}
],
"end_point": { "addr": "" },
"dont_message_on_private_repos": true
},
"github_pushed":
{
"hmac": "this_is_secret_number_one",
"templates": [ ],
"end_point": { "addr": "" },
"dont_message_on_private_repos": true
},
"github_ping":
{
"hmac": "this_is_secret_number_one",
"templates":
[
{
"check_value_path": "",
"check_value": "",
"body": "Ping!"
}
],
"end_point": { "addr": "" },
"dont_message_on_private_repos": true
}
}

0 comments on commit 524bf79

Please sign in to comment.