Skip to content

Commit

Permalink
fixeS
Browse files Browse the repository at this point in the history
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
  • Loading branch information
alyssawilk committed May 6, 2024
1 parent 81d03ab commit 83ec216
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/setec_notifier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-22.04
if: >-
${{
github.repository == 'envoyproxy/envoy'
github.repository == 'envoyproxy/envoy-setec'
&& (github.event.schedule
|| !contains(github.actor, '[bot]'))
}}
Expand Down
8 changes: 2 additions & 6 deletions tools/repo/notify-setec.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@ def repo(self):
def session(self):
return aiohttp.ClientSession()

@async_property(cache=True)
async def shepherd_notifications(self):
return (await self.tracked_issues)["shepherd_notifications"]

@cached_property
def slack_client(self):
return AsyncWebClient(token=self.slack_bot_token)
Expand Down Expand Up @@ -137,10 +133,10 @@ async def post_to_oncall(self):
unassigned = "\n".join(await self.unassigned_issues)
stalled = "\n".join(await self.stalled_issues)
await self.send_message(
channel='#envoy-maintainer-oncall',
channel='#envoy-security-team',
text=(f"*'Unassigned' Issues* (Issues with no maintainer assigned)\n{unassigned}"))
await self.send_message(
channel='#envoy-maintainer-oncall',
channel='#envoy-security-team',
text=(f"*Stalled Issues* (Issues with review out-SLO, please address)\n{stalled}"))
except SlackApiError as e:
self.log.error(f"Unexpected error {e.response['error']}")
Expand Down

0 comments on commit 83ec216

Please sign in to comment.