Skip to content

Bump aws-actions/configure-aws-credentials from 6.2.1 to 6.2.2 #1295

Bump aws-actions/configure-aws-credentials from 6.2.1 to 6.2.2

Bump aws-actions/configure-aws-credentials from 6.2.1 to 6.2.2 #1295

Workflow file for this run

name: Slack Notifications
on:
issues:
types: [opened, reopened, edited]
pull_request_target:
types: [opened, reopened, synchronize]
permissions:
contents: read
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Send issue notification to Slack
if: github.event_name == 'issues'
uses: slackapi/slack-github-action@45a88b9581bfab2566dc881e2cd66d334e621e2c # v3.0.3
with:
webhook: ${{ secrets.SLACK_WEBHOOK_URL_ISSUE }}
webhook-type: incoming-webhook
payload: |
{
"action": "${{ github.event.action }}",
"issue_url": "${{ github.event.issue.html_url }}"
}
- name: Send pull request notification to Slack
if: github.event_name == 'pull_request_target'
uses: slackapi/slack-github-action@45a88b9581bfab2566dc881e2cd66d334e621e2c # v3.0.3
with:
webhook: ${{ secrets.SLACK_WEBHOOK_URL_PR }}
webhook-type: incoming-webhook
payload: |
{
"action": "${{ github.event.action }}",
"url": "${{ github.event.pull_request.html_url }}"
}