@kirixvelu/second 3.0.1 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,20 @@
1
+ # name: Publish Release
2
+ on:
3
+ push:
4
+ tags:
5
+ - "v*"
6
+ jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+ permissions:
10
+ contents: write
11
+ pull-requests: write
12
+ issues: write
13
+ steps:
14
+ - uses: actions/checkout@v3
15
+ - name: Create a Release
16
+ uses: elgohr/Github-Release-Action@v5
17
+ env:
18
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19
+ with:
20
+ title: Project Second
@@ -1,20 +1,44 @@
1
- name: Publish Release
1
+ name: release
2
+
2
3
  on:
3
4
  push:
4
- tags:
5
- - "v*"
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ branches:
9
+ - main
10
+
11
+ permissions:
12
+ contents: write
6
13
  jobs:
7
- build:
14
+ release:
8
15
  runs-on: ubuntu-latest
9
- permissions:
10
- contents: write
11
- pull-requests: write
12
- issues: write
13
16
  steps:
14
- - uses: actions/checkout@v3
15
- - name: Create a Release
16
- uses: elgohr/Github-Release-Action@v5
17
- env:
18
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17
+ - name: Checkout
18
+ uses: actions/checkout@v5
19
+
20
+ - name: Get bump version
21
+ id: bump_label
22
+ uses: SamirMarin/get-labels-action@v0
19
23
  with:
20
- title: Project Second
24
+ github_token: ${{ secrets.GITHUB_TOKEN }}
25
+ label_key: bump
26
+ label_value_order: "patch,minor,major,ignore"
27
+ default_label_value: patch
28
+
29
+ - name: create tag to release
30
+ id: tag_version
31
+ uses: mathieudutour/github-tag-action@v6.1
32
+ with:
33
+ github_token: ${{ secrets.GITHUB_TOKEN }}
34
+ default_bump: ${{ steps.bump_label.outputs.label_value }}
35
+ dry_run: ${{ github.event_name == 'pull_request' }}
36
+ tag_prefix: v
37
+
38
+ - name: create release
39
+ uses: ncipollo/release-action@v1
40
+ if: ${{ github.event_name != 'pull_request' }}
41
+ with:
42
+ tag: ${{ steps.tag_version.outputs.new_tag }}
43
+ name: Release ${{ steps.tag_version.outputs.new_tag }}
44
+ body: ${{ steps.tag_version.outputs.changelog }}
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ #### 3.1.1 (2026-02-08)
2
+
3
+ ##### New Features
4
+
5
+ * another git release action ([ea9f14f5](https://github.com/kirixvelu/second/commit/ea9f14f59b6e48f974aa445f13ea73326b402595))
6
+
7
+ ### 3.1.0 (2026-02-08)
8
+
9
+ ##### New Features
10
+
11
+ * action confirm ([72f82612](https://github.com/kirixvelu/second/commit/72f8261212811defe76213aed68fb9744c537a09))
12
+
1
13
  #### 3.0.1 (2026-02-08)
2
14
 
3
15
  ##### New Features
package/README.md CHANGED
@@ -7,3 +7,5 @@ revised action
7
7
  add permission
8
8
 
9
9
  action test
10
+
11
+ confirm action
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kirixvelu/second",
3
- "version": "3.0.1",
3
+ "version": "3.1.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "publishConfig": {