From 1850f3b895c20990f329f3954eabd3b2f89dbc0d Mon Sep 17 00:00:00 2001 From: Xheldon Date: Thu, 31 Jul 2025 15:08:47 +0800 Subject: [PATCH] Fix GitHub Actions permissions and bump to v1.0.3 - Add 'contents: write' permission to GitHub Actions workflow - This should fix the 403 error when creating releases - Bump version to 1.0.3 for testing the fixed workflow --- .github/workflows/release.yml | 2 ++ manifest.json | 2 +- package.json | 2 +- versions.json | 3 ++- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e9eeb2a..006f49b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,8 @@ on: jobs: build: runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@v3 diff --git a/manifest.json b/manifest.json index b94f3b2..574ede4 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "git-folder-sync", "name": "Git Folder Sync", - "version": "1.0.2", + "version": "1.0.3", "minAppVersion": "0.15.0", "description": "Synchronize files in your Obsidian Vault with a specified directory in the designated GitHub repository (rather than the entire repository); send your images to cloud storage services.", "author": "Xheldon", diff --git a/package.json b/package.json index 89189bd..03296bf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "git-folder-sync", - "version": "1.0.2", + "version": "1.0.3", "description": "Synchronize files in your Obsidian Vault with a specified directory in the designated GitHub repository (rather than the entire repository); send your images to cloud storage services.", "main": "main.js", "scripts": { diff --git a/versions.json b/versions.json index a63114a..a13a888 100644 --- a/versions.json +++ b/versions.json @@ -1,5 +1,6 @@ { "1.0.0": "0.15.0", "1.0.1": "0.15.0", - "1.0.2": "0.15.0" + "1.0.2": "0.15.0", + "1.0.3": "0.15.0" } \ No newline at end of file