Skip to content

Commit

Permalink
🚨 resolve: release workflow error due to insufficient permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
xandemon committed Sep 21, 2024
1 parent d034737 commit ec3fbe1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
name: Publish and Release Packages
name: Publish NPM Package and Create Release

on:
push:
tags:
- "v*.*.*"

permissions:
contents: write
packages: write
id-token: write

jobs:
release:
name: Create Release and Publish NPM
Expand Down Expand Up @@ -41,7 +46,7 @@ jobs:
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.ref }}
tag_name: ${{ github.ref_name }}
# body: |
# Changes in this release:
# - New version published to npm: ${{ github.ref }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "developer-icons",
"description": "Ready-to-use high-quality customizable tech icons - made for the developers",
"version": "4.3.0",
"version": "4.3.2",
"type": "module",
"homepage": "https://xandemon.github.io/developer-icons",
"repository": {
Expand Down

0 comments on commit ec3fbe1

Please sign in to comment.