name: Sample Testing on: [push] env: VER: 0.1.2 jobs: my_job: runs-on: stackit-docker steps: - name: First Chat Message if: ${{ always() }} uses: https://stackit-solutions.git.onstackit.cloud/actions/notify@v${{ env.VER }} with: title: "[START] sample test (${{ forgejo.run_number }})" author: ${{ forgejo.actor }} giturl: ${{ forgejo.server_url }} iconslug: instacart # status: ${{ job.status }} # optional actionid: ${{ forgejo.run_number }} webhook: "${{ secrets.WEBHOOK_URL }}" # event_body: "" # optional - name: Force failure run: | echo "This is a force failure" exit 1 - name: Second Chat Message as ThreadResponse if: ${{ always() }} uses: https://stackit-solutions.git.onstackit.cloud/actions/notify@v0.1.2 with: title: "[END] sample test (${{ forgejo.run_number }})" iconslug: bun author: ${{ forgejo.actor }} giturl: ${{ forgejo.server_url }} status: ${{ job.status }} actionid: ${{ forgejo.run_number }} webhook: "${{ secrets.WEBHOOK_URL }}" event_body: "this time I provided a body"