fix: fix iconslug handling
All checks were successful
Sample Testing / my_job (push) Successful in 2m9s
All checks were successful
Sample Testing / my_job (push) Successful in 2m9s
This commit is contained in:
parent
f4b486b99b
commit
d5b203cb65
1 changed files with 15 additions and 1 deletions
16
.github/workflows/example.yml
vendored
16
.github/workflows/example.yml
vendored
|
|
@ -14,7 +14,7 @@ jobs:
|
||||||
run: echo "::set-output name=sha8::$(echo ${FORGEJO_SHA} | cut -c1-8)"
|
run: echo "::set-output name=sha8::$(echo ${FORGEJO_SHA} | cut -c1-8)"
|
||||||
id: slug
|
id: slug
|
||||||
|
|
||||||
- name: Chat Setup
|
- name: First Chat Message
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
uses: https://stackit-solutions.git.onstackit.cloud/actions/notify@v0.1.2
|
uses: https://stackit-solutions.git.onstackit.cloud/actions/notify@v0.1.2
|
||||||
with:
|
with:
|
||||||
|
|
@ -27,3 +27,17 @@ jobs:
|
||||||
actionid: ${{ forgejo.run_id }}
|
actionid: ${{ forgejo.run_id }}
|
||||||
webhook: "${{ secrets.WEBHOOK_URL }}"
|
webhook: "${{ secrets.WEBHOOK_URL }}"
|
||||||
event_body: ""
|
event_body: ""
|
||||||
|
|
||||||
|
- name: Second Chat Message as ThreadResponse
|
||||||
|
if: ${{ always() }}
|
||||||
|
uses: https://stackit-solutions.git.onstackit.cloud/actions/notify@v0.1.2
|
||||||
|
with:
|
||||||
|
author: ${{ forgejo.actor }}
|
||||||
|
giturl: ${{ forgejo.server_url }}
|
||||||
|
project: ${{ forgejo.repository }}
|
||||||
|
commit: ${{ steps.slug.outputs.sha8 }}
|
||||||
|
branch: ${{ forgejo.ref }}
|
||||||
|
status: ${{ job.status }}
|
||||||
|
actionid: ${{ forgejo.run_id }}
|
||||||
|
webhook: "${{ secrets.WEBHOOK_URL }}"
|
||||||
|
event_body: "this time <b>I</b> provided a body"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue