Skip to content

Commit dcbc248

Browse files
Add releases workflows
1 parent 1acd417 commit dcbc248

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: "Automatically tag new version"
2+
3+
on:
4+
push:
5+
branches:
6+
- "main"
7+
- "**/bugfixes"
8+
paths:
9+
- "setup.php"
10+
11+
jobs:
12+
auto-tag-new-version:
13+
name: "Automatically tag new version"
14+
uses: "glpi-project/plugin-release-workflows/.github/workflows/auto-tag-new-version.yml@v1"
15+
secrets:
16+
github-token: "${{ secrets.AUTOTAG_TOKEN }}"

.github/workflows/release.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: "Publish release"
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
publish-release:
10+
permissions:
11+
contents: "write"
12+
name: "Publish release"
13+
uses: "glpi-project/plugin-release-workflows/.github/workflows/publish-release.yml@v1"

0 commit comments

Comments
 (0)