Files
2026-09-01 22:46:57 +00:00

27 lines
772 B
YAML

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Post blocks found in a file
on:
push:
branches:
- main
jobs:
run:
name: Share a travel review to channel
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v7
with:
persist-credentials: false
- name: Forward a saved message
uses: slackapi/[email protected]
with:
payload-file-path: "./example-workflows/Technique_3_Slack_Incoming_Webhook/saved.data.json"
payload-templated: true
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
webhook-type: incoming-webhook
env:
SLACK_CHANNEL_ID: ${{ secrets.SLACK_CHANNEL_ID }}