24 lines
663 B
YAML
24 lines
663 B
YAML
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
|
|
|
name: Format generated files
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
jobs:
|
|
run:
|
|
name: Write structured data as a message
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout the repo
|
|
uses: actions/checkout@v4
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Start the Slack workflow
|
|
uses: slackapi/[email protected]
|
|
with:
|
|
payload-file-path: "./example-workflows/Technique_1_Slack_Workflow_Builder/builds.data.json"
|
|
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
|
|
webhook-type: webhook-trigger
|