Skip to content

Commit bfb1169

Browse files
committed
refactor(workflows): rename release.yml to release.self.yml, promote.yml to release.yml
Rename release.yml → release.self.yml to distinguish the repo's own release trigger from reusable workflows. Rename promote.yml → release.yml and update its name to Release, making it the canonical reusable release workflow for callers.
1 parent f9f666e commit bfb1169

3 files changed

Lines changed: 337 additions & 337 deletions

File tree

.github/workflows/promote.yml

Lines changed: 0 additions & 314 deletions
This file was deleted.

.github/workflows/release.self.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- master
8+
tags:
9+
- "v*"
10+
paths-ignore:
11+
- "**.md"
12+
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
17+
permissions:
18+
contents: write
19+
packages: write
20+
21+
jobs:
22+
promote:
23+
uses: ./.github/workflows/release.yml
24+
secrets:
25+
checkout-token: ${{ secrets.BOT_REPO_TOKEN }}
26+
with:
27+
version-makefile: Makefile
28+
git-add-files: Makefile
29+
git-user-name: getdevopspro-cibot
30+
git-user-email: 203600057+getdevopspro-cibot@users.noreply.github.com
31+
make-target-pre-push: release-version
32+
changelog-enabled: true
33+
update-release-enabled: true

0 commit comments

Comments
 (0)