This commit is contained in:
parent
dec309966a
commit
d346a15951
4 changed files with 44 additions and 8 deletions
14
.github/workflows/example.yml
vendored
14
.github/workflows/example.yml
vendored
|
|
@ -7,18 +7,20 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Get commit hash
|
||||
if: ${{ always() }}
|
||||
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
|
||||
run: echo "::set-output name=sha8::$(echo ${FORGEJO_SHA} | cut -c1-8)"
|
||||
id: slug
|
||||
|
||||
- name: Chat Setup
|
||||
if: ${{ always() }}
|
||||
uses: DTherHtun/google-chat-action@v0.8
|
||||
uses: https://stackit-solutions.git.onstackit.cloud/actions/notify@v0
|
||||
with:
|
||||
project: ${{ github.repository }}
|
||||
project: ${{ forgejo.repository }}
|
||||
commit: ${{ steps.slug.outputs.sha8 }}
|
||||
branch: ${{ github.ref }}
|
||||
branch: ${{ forgejo.ref }}
|
||||
status: ${{ job.status }}
|
||||
actionid: ${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||||
actionid: ${{ forgejo.repository }}/actions/runs/${{ forgejo.run_id }}
|
||||
webhook: "https://chat.googleapis.com/v1/spaces/AAAAYTX-Vqs/messages?key=AIzaSyDdI0hCZtE6vySjMm-WEfRq3CPzqKqqsHI&token=Iwtvo1dwg36dZgUyrUCREQGGMrO71PkIoQGafOf17Yg%3D&threadKey=git-commit"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue