-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (39 loc) · 1.1 KB
/
Copy pathrelease.yml
File metadata and controls
42 lines (39 loc) · 1.1 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
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
name: release
"on": workflow_dispatch
permissions:
# To Push Changes to the Repository
contents: write
# To Update GitHub Action workflow files
actions: write
# To Create Pull Requests
pull-requests: write
# to enable use of OIDC for npm provenance
id-token: write
jobs:
release:
runs-on: ubuntu-latest
name: release
steps:
- name: Checkout
uses: actions/checkout@v5
with:
persist-credentials: false
fetch-depth: 0
- name: Release
uses: cycjimmy/semantic-release-action@v4
with:
semantic_version: 21
extra_plugins: |
@semantic-release/commit-analyzer@10.0.1
@semantic-release/release-notes-generator@11.0.4
@semantic-release/changelog@6.0.3
@semantic-release/exec@6.0.3
@semantic-release/git@10.0.1
@semantic-release/github@9.0.4
conventional-changelog-conventionalcommits
conventional-changelog-eslint
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}