-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (37 loc) · 1.26 KB
/
Copy pathrelease.yml
File metadata and controls
43 lines (37 loc) · 1.26 KB
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
36
37
38
39
40
41
42
43
name: 'Release'
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Create Release
uses: softprops/action-gh-release@v2
with:
name: Release ${{ github.ref_name }}
body: |
## 🚀 Replace Comment Action v${{ github.ref_name }}
Find, delete, and recreate GitHub comments to move them to the bottom of conversations.
### Features
- ✅ **Find comments** using flexible search criteria
- 🗑️ **Delete existing comments** automatically
- ✨ **Create fresh comments** at the bottom for visibility
- 🔧 **Perfect for CI/CD** status updates and bot notifications
### Usage
```yaml
- uses: johanwulf/replace-comment@${{ github.ref_name }}
with:
issue-number: ${{ github.event.pull_request.number }}
body-includes: '<!-- my-comment -->'
body: |
<!-- my-comment -->
Your comment content here
```
draft: false
prerelease: false