chore: initial release
Some checks are pending
Sample Testing / my_job (push) Waiting to run

This commit is contained in:
Marcel S. Henselin 2026-04-16 08:24:44 +02:00
parent dec309966a
commit d346a15951
4 changed files with 44 additions and 8 deletions

View file

@ -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"

27
.gitignore vendored Normal file
View file

@ -0,0 +1,27 @@
### Go template
# If you prefer the allow list template instead of the deny list, see community template:
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
#
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
# Test binary, built with `go test -c`
*.test
# Output of the go coverage tool, specifically when used with LiteIDE
*.out
# Dependency directories (remove the comment below to include it)
# vendor/
# Go workspace file
go.work
go.work.sum
# env file
.env

View file

@ -14,14 +14,16 @@ 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)"
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 }}
commit: ${{ steps.slug.outputs.sha8 }}

5
go.mod Normal file
View file

@ -0,0 +1,5 @@
module google-chat-action
go 1.26.2
require github.com/sethvargo/go-githubactions v1.3.2