forked from Naugrimm/opentrans
-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (32 loc) · 1.12 KB
/
bump.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: CD / Bump
on:
push:
branches:
- main
paths-ignore:
- 'VERSION'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.ACCESS_TOKEN }}
fetch-depth: "0"
- name: Bump version and push tag
id: bump
uses: Loeffelhardt/el-github-tag-action@main
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
GITHUB_ACTOR: loeffelhardt-bot
- name: Notify ms teams channel
if: success() && steps.bump.outputs.new_tag
uses: Loeffelhardt/el-ms-teams-notification-action@main
with:
github-token: ${{ secrets.ACCESS_TOKEN }}
ms-teams-webhook-uri: ${{ secrets.MS_TEAMS_WEBHOOK_URI_CD }}
notification-summary: "Tag ${{ steps.bump.outputs.new_tag }} (${{ steps.bump.outputs.part }}) created in ${{ github.repository }}"
notification-color: 17a2b8
release-title: Tag (Branch ${{ github.ref_name }})
notification-text: ${{ github.ref_name }} tagged with ${{ steps.bump.outputs.new_tag }}
timezone: Europe/Berlin