Skip to content

Setup

Setup #1

Workflow file for this run

name: Setup
on:
workflow_dispatch:
jobs:
setup:
name: Setup
runs-on: ubuntu-latest
steps:
- name: Post to a Slack channel
id: slack
uses: slackapi/[email protected]
with:
channel-id: ${{ vars.PLATFORM_SLACK_CHANNEL_ID }}
payload: |
{
"text": "${{ github.event.repo.name }} repository created",
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": ":construction: *${{ github.repository }} repository created*.\nPlease scaffold infrastructure and setup CI/CD.\n\nhttps://github.com/${{ github.repository }}"
}
}
]
}
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}