Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eb96639c17 | ||
|
|
49fa812459 | ||
|
|
68c1f11a5c | ||
|
|
16a5f874b3 |
5 changed files with 59 additions and 7 deletions
10
.github/workflows/example.yml
vendored
10
.github/workflows/example.yml
vendored
|
|
@ -1,5 +1,5 @@
|
|||
name: Sample Testing
|
||||
on: [push]
|
||||
on: [workflow_dispatch]
|
||||
|
||||
env:
|
||||
VER: 0.1.2
|
||||
|
|
@ -22,10 +22,10 @@ jobs:
|
|||
webhook: "${{ secrets.WEBHOOK_URL }}"
|
||||
# event_body: "" # optional
|
||||
|
||||
- name: Force failure
|
||||
run: |
|
||||
echo "This is a force failure"
|
||||
exit 1
|
||||
# - name: Force failure
|
||||
# run: |
|
||||
# echo "This is a force failure"
|
||||
# exit 1
|
||||
|
||||
- name: Second Chat Message as ThreadResponse
|
||||
if: ${{ always() }}
|
||||
|
|
|
|||
42
.github/workflows/release.yml
vendored
42
.github/workflows/release.yml
vendored
|
|
@ -7,6 +7,9 @@ on:
|
|||
branches:
|
||||
- '**'
|
||||
|
||||
env:
|
||||
VER: 0.1.2
|
||||
|
||||
# If a 403 error occurs, make sure to set content permission to write
|
||||
# see: https://github.com/go-semantic-release/action/issues/27
|
||||
permissions:
|
||||
|
|
@ -22,10 +25,14 @@ jobs:
|
|||
- name: Setup GO
|
||||
uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version: 1.26
|
||||
# go-version: 1.26
|
||||
go-version-file: 'go.mod'
|
||||
cache-dependency-path: 'go.sum'
|
||||
|
||||
- name: GO Linting
|
||||
uses: golangci/golangci-lint-action@v3
|
||||
uses: golangci/golangci-lint-action@v9
|
||||
with:
|
||||
version: v2.11
|
||||
|
||||
# build:
|
||||
# runs-on: stackit-docker
|
||||
|
|
@ -47,6 +54,17 @@ jobs:
|
|||
outputs:
|
||||
tag: ${{ steps.create_release.outputs.tag }}
|
||||
steps:
|
||||
- name: "[START] release workflow"
|
||||
if: ${{ always() }}
|
||||
uses: https://stackit-solutions.git.onstackit.cloud/actions/notify@v${{ env.VER }}
|
||||
with:
|
||||
title: "[START] release workflow (${{ forgejo.run_number }})"
|
||||
author: ${{ forgejo.actor }}
|
||||
giturl: ${{ forgejo.server_url }}
|
||||
iconslug: instacart
|
||||
actionid: ${{ forgejo.run_number }}
|
||||
webhook: "${{ secrets.WEBHOOK_URL }}"
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v6
|
||||
|
||||
|
|
@ -95,8 +113,28 @@ jobs:
|
|||
if: steps.create_release.outputs.tag != ''
|
||||
uses: docker/setup-buildx-action@v4
|
||||
|
||||
- name: Build only
|
||||
if: steps.create_release.outputs.tag == ''
|
||||
uses: docker/build-push-action@v7
|
||||
with:
|
||||
push: false
|
||||
tags: actions/notify-slim:dev
|
||||
|
||||
- name: Build and push
|
||||
if: steps.create_release.outputs.tag != ''
|
||||
uses: docker/build-push-action@v7
|
||||
with:
|
||||
push: false
|
||||
tags: actions/notify-slim:${{ steps.create_release.outputs.tag }}
|
||||
|
||||
- name: "[END] release workflow"
|
||||
if: ${{ always() }}
|
||||
uses: https://stackit-solutions.git.onstackit.cloud/actions/notify@v${{ env.VER }}
|
||||
with:
|
||||
title: "[START] release workflow (${{ forgejo.run_number }})"
|
||||
author: ${{ forgejo.actor }}
|
||||
giturl: ${{ forgejo.server_url }}
|
||||
iconslug: instacart
|
||||
actionid: ${{ forgejo.run_number }}
|
||||
webhook: "${{ secrets.WEBHOOK_URL }}"
|
||||
status: 'completed'
|
||||
|
|
|
|||
|
|
@ -1,3 +1,11 @@
|
|||
# [0.3.0](https://stackit-solutions.git.onstackit.cloud/actions/notify/compare/v0.2.0...v0.3.0) (2026-04-17)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* linting ([68c1f11](https://stackit-solutions.git.onstackit.cloud/actions/notify/commit/68c1f11a5cc02918166ca05e4af79712a5c0964b))
|
||||
* linting ([16a5f87](https://stackit-solutions.git.onstackit.cloud/actions/notify/commit/16a5f874b341a6d4776dbe5e46be391f1d6576d8))
|
||||
|
||||
# [0.2.0](https://stackit-solutions.git.onstackit.cloud/actions/notify/compare/v0.1.2...v0.2.0) (2026-04-17)
|
||||
|
||||
|
||||
|
|
|
|||
6
go.sum
Normal file
6
go.sum
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
|
||||
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
|
||||
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
|
||||
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
|
||||
github.com/sethvargo/go-githubactions v1.3.2 h1:gkibLr/QjosgNWoCf1V58rTMRZw7xZtSB7dY4atbl1Y=
|
||||
github.com/sethvargo/go-githubactions v1.3.2/go.mod h1:7/4WeHgYfSz9U5vwuToCK9KPnELVHAhGtRwLREOQV80=
|
||||
Loading…
Add table
Add a link
Reference in a new issue