redis: reduce CPU requests on staging #1502
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
types: [ opened, reopened ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create the Mattermost Message | |
env: | |
TITLE: ${{ github.event.pull_request.title }} | |
HTML_LINK: ${{ github.event.pull_request.html_url }} | |
run: > | |
jq -n --arg t "Pull request opened: [${TITLE}](${HTML_LINK})" '{text: $t}' | |
> mattermost.json | |
- uses: mattermost/[email protected] | |
env: | |
MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }} |