feat: Add introspection and limit args to aws_appsync_graphql_api #22054
Workflow file for this run
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
name: "Regressions Slack Notifier" | |
on: | |
issues: | |
types: | |
- labeled | |
pull_request: | |
types: | |
- labeled | |
jobs: | |
slack-notification: | |
name: Slack Notifier | |
if: github.event.label.name == 'regression' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Send Slack Notification | |
uses: slackapi/slack-github-action@6c661ce58804a1a20f6dc5fbee7f0381b469e001 # v1.25.0 | |
env: | |
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} | |
EVENT_URL: ${{ github.event.issue.html_url || github.event.pull_request.html_url }} | |
EVENT_TITLE: ${{ toJSON(github.event.issue.title || github.event.pull_request.title) }} | |
with: | |
channel-id: ${{ secrets.SLACK_CHANNEL }} | |
payload: | | |
{ | |
"blocks": [ | |
{ | |
"type": "section", | |
"text": { | |
"type": "mrkdwn", | |
"text": ":warning: The following has been labeled as a regression:" | |
} | |
}, | |
{ | |
"type": "section", | |
"text": { | |
"type": "mrkdwn", | |
"text": ${{ toJSON(format('<{0}|{1}>', env.EVENT_URL, env.EVENT_TITLE)) }} | |
} | |
} | |
] | |
} |