From bfaefa8b696b1fad58398f9d51ab9ed77194eb33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Pedro=20Sousa?= Date: Wed, 20 Dec 2023 12:06:49 +0000 Subject: [PATCH] Testing notification --- .github/workflows/testingslack.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/testingslack.yaml diff --git a/.github/workflows/testingslack.yaml b/.github/workflows/testingslack.yaml new file mode 100644 index 0000000..24185d5 --- /dev/null +++ b/.github/workflows/testingslack.yaml @@ -0,0 +1,21 @@ +name: Testing + +on: + # Giving ourselves a way to trigger this manually + push: + +jobs: + testing: + runs-on: ubuntu-latest + steps: + - name: Send GitHub Action trigger data to Slack workflow + id: slack + uses: slackapi/slack-github-action@v1.24.0 + with: + # This data can be any valid JSON from a previous step in the GitHub Action + payload: | + { + "text": "Testing - From github PR action" + } + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}