Skip to content

Commit

Permalink
Update notify_weekly.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
zoracon authored Aug 2, 2024
1 parent 620142d commit 7e90a7c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/notify_weekly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,21 @@ on:
jobs:
send-mattermost-message:
runs-on: ubuntu-latest
env:
DATE: $(date --date="7 days ago" +"%Y-%m-%d")
MERGED_URL: "https://github.com/pulls?q=merged%3A%3E${DATE}+org%3Acertbot+"
UPDATED_URL: "https://github.com/pulls?q=updated%3A%3E${DATE}+org%3Acertbot+"
steps:
- uses: mattermost/action-mattermost-notify@master
with:
MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
DATE: $(date --date="7 days ago" +"%Y-%m-%d")
MERGED_URL: "https://github.com/pulls?q=merged%3A%3E${DATE}+org%3Acertbot+"
UPDATED_URL: "https://github.com/pulls?q=updated%3A%3E${DATE}+org%3Acertbot+"
PAYLOAD: |-
{
"text": echo "{\"text\":\## Updates Across Certbot Repos\n\n
"text": "## Updates Across Certbot Repos\n\n
- Certbot team members SHOULD look at: [link]($MERGED_URL)\n\n
- Certbot team members MAY also want to look at: [link]($UPDATED_URL)\n\n
- Want to Discuss something today? Place it [here](https://docs.google.com/document/d/17YMUbtC1yg6MfiTMwT8zVm9LmO-cuGVBom0qFn8XJBM/edit?usp=sharing) and we can meet today on Zoom.\n\n
- The key words SHOULD and MAY in this message are to be interpreted as described in [RFC 8147](https://www.rfc-editor.org/rfc/rfc8174). \"",
- The key words SHOULD and MAY in this message are to be interpreted as described in [RFC 8147](https://www.rfc-editor.org/rfc/rfc8174). \",
"channel": "private certbot",
"username": "${{ github.triggering_actor }}",
"icon": "https://cdn3.iconfinder.com/data/icons/system-basic-vol-4-1/20/icon-note-attention-alt3-512.png"
Expand Down

0 comments on commit 7e90a7c

Please sign in to comment.