chore: add notifications #95
4 changed files with 35 additions and 2 deletions
11
.github/workflows/ci_new.yaml
vendored
11
.github/workflows/ci_new.yaml
vendored
|
|
@ -33,6 +33,17 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
|
- name: Notify
|
||||||
|
uses: ./.github/actions/notify
|
||||||
|
with:
|
||||||
|
webhook_url: ${{ secrets.GOOGLE_WEBHOOK_URL }}
|
||||||
|
title: CI pipeline started
|
||||||
|
event_title: ${{ github.event.type }}
|
||||||
|
event_author: ${{ github.event.actor.login }}
|
||||||
|
event_body: 'No event body.'
|
||||||
|
event_number: ${{ github.event.id }}
|
||||||
|
event_url: "https://tf-provider.git.onstackit.cloud/stackit-dev-tools/terraform-provider-stackitprivatepreview/actions/runs/${{ github.run_id }}"
|
||||||
|
|
||||||
- name: Check GoReleaser
|
- name: Check GoReleaser
|
||||||
uses: goreleaser/goreleaser-action@v7
|
uses: goreleaser/goreleaser-action@v7
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
11
.github/workflows/clean_up.yaml
vendored
11
.github/workflows/clean_up.yaml
vendored
|
|
@ -34,6 +34,17 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
|
- name: Notify
|
||||||
|
uses: ./.github/actions/notify
|
||||||
|
with:
|
||||||
|
webhook_url: ${{ secrets.GOOGLE_WEBHOOK_URL }}
|
||||||
|
title: CI pipeline started
|
||||||
|
event_title: ${{ github.event.type }}
|
||||||
|
event_author: ${{ github.event.actor.login }}
|
||||||
|
event_body: "Filter: ${{ inputs.res_prefix }}"
|
||||||
|
event_number: ${{ github.event.id }}
|
||||||
|
event_url: "https://tf-provider.git.onstackit.cloud/stackit-dev-tools/terraform-provider-stackitprivatepreview/actions/runs/${{ github.run_id }}"
|
||||||
|
|
||||||
- name: Clean
|
- name: Clean
|
||||||
uses: ./.github/actions/clean_up
|
uses: ./.github/actions/clean_up
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
11
.github/workflows/publish.yaml
vendored
11
.github/workflows/publish.yaml
vendored
|
|
@ -47,6 +47,17 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-tags: true
|
fetch-tags: true
|
||||||
|
|
||||||
|
- name: Notify
|
||||||
|
uses: ./.github/actions/notify
|
||||||
|
with:
|
||||||
|
webhook_url: ${{ secrets.GOOGLE_WEBHOOK_URL }}
|
||||||
|
title: Publish started
|
||||||
|
event_title: ${{ github.event.type }}
|
||||||
|
event_author: ${{ github.event.actor.login }}
|
||||||
|
event_body: "Trigger: ${{ github.event_name }}"
|
||||||
|
event_number: ${{ github.event.id }}
|
||||||
|
event_url: "https://tf-provider.git.onstackit.cloud/stackit-dev-tools/terraform-provider-stackitprivatepreview/actions/runs/${{ github.run_id }}"
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v6
|
uses: actions/setup-go@v6
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
4
.github/workflows/tf-acc-test.yaml
vendored
4
.github/workflows/tf-acc-test.yaml
vendored
|
|
@ -39,7 +39,7 @@ jobs:
|
||||||
event_author: ${{ github.event.actor.login }}
|
event_author: ${{ github.event.actor.login }}
|
||||||
event_body: 'No event body.'
|
event_body: 'No event body.'
|
||||||
event_number: ${{ github.event.id }}
|
event_number: ${{ github.event.id }}
|
||||||
event_url: "${{ github.repositoryUrl }}"
|
event_url: "https://tf-provider.git.onstackit.cloud/stackit-dev-tools/terraform-provider-stackitprivatepreview/actions/runs/${{ github.run_id }}"
|
||||||
|
|
||||||
- name: Run Test (workflow dispatch)
|
- name: Run Test (workflow dispatch)
|
||||||
if: ${{ github.event_name == 'workflow_dispatch' }}
|
if: ${{ github.event_name == 'workflow_dispatch' }}
|
||||||
|
|
@ -80,4 +80,4 @@ jobs:
|
||||||
event_author: ${{ github.event.actor.login }}
|
event_author: ${{ github.event.actor.login }}
|
||||||
event_body: 'No event body.'
|
event_body: 'No event body.'
|
||||||
event_number: ${{ github.event.id }}
|
event_number: ${{ github.event.id }}
|
||||||
event_url: "${{ github.repositoryUrl }}"
|
event_url: "https://tf-provider.git.onstackit.cloud/stackit-dev-tools/terraform-provider-stackitprivatepreview/actions/runs/${{ github.run_id }}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue