Skip to content

Commit 5ed9239

Browse files
committed
Clarify no-release policy
1 parent 5f254dc commit 5ed9239

2 files changed

Lines changed: 24 additions & 24 deletions

File tree

.github/workflows/no-releases.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: No Releases
2+
3+
on:
4+
release:
5+
types: [created, published, prereleased, released]
6+
push:
7+
tags:
8+
- "v*"
9+
- "release/*"
10+
workflow_dispatch:
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
no-releases:
17+
name: Repository has no release process
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Explain release policy
21+
run: |
22+
echo "::error title=No releases::CodewarsKataJava is a kata practice repository and does not publish GitHub releases or release tags. Use the regular CI workflow for validation."
23+
echo "This workflow exists only to make accidental release or release-tag events visible."
24+
exit 1

.github/workflows/release.yml

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

0 commit comments

Comments
 (0)