From 99d9f1953edb732aa5081a9d294466e2d27a4eb9 Mon Sep 17 00:00:00 2001 From: kiransbsf Date: Thu, 16 Jul 2026 16:39:19 +0530 Subject: [PATCH 1/5] chore:tested with wp 7.0 --- README.md | 2 +- readme.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 01125ea..e3ea908 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ **Tags:** liftlms, course, page-buider, beaver builder, elementor, visual composer **Requires at least:** 4.4 **Requires PHP:** 5.3 -**Tested up to:** 6.9 +**Tested up to:** 7.0 **Stable tag:** 1.0.7 **License:** GPLv2 or later **License URI:** https://www.gnu.org/licenses/gpl-2.0.html diff --git a/readme.txt b/readme.txt index 0b7df15..6c48da1 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: pratikchaskar Tags: liftlms, course, page-buider, beaver builder, elementor, visual composer Requires at least: 4.4 Requires PHP: 5.3 -Tested up to: 6.9 +Tested up to: 7.0 Stable tag: 1.0.7 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html From 9338e3d659bc237f55635a54a015b6384ae4fbbf Mon Sep 17 00:00:00 2001 From: kiransbsf Date: Thu, 16 Jul 2026 16:39:23 +0530 Subject: [PATCH 2/5] chore: restrict deploy workflows to scoped GitHub production environment --- .github/workflows/push-asset-readme-update.yml | 1 + .github/workflows/push-to-deploy.yml | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/.github/workflows/push-asset-readme-update.yml b/.github/workflows/push-asset-readme-update.yml index 4e2a6f6..1929eb4 100644 --- a/.github/workflows/push-asset-readme-update.yml +++ b/.github/workflows/push-asset-readme-update.yml @@ -7,6 +7,7 @@ jobs: master: name: Push to master runs-on: ubuntu-latest + environment: production steps: - uses: actions/checkout@master - name: WordPress.org plugin asset/readme update diff --git a/.github/workflows/push-to-deploy.yml b/.github/workflows/push-to-deploy.yml index 2a0d9f2..36031ad 100644 --- a/.github/workflows/push-to-deploy.yml +++ b/.github/workflows/push-to-deploy.yml @@ -7,8 +7,18 @@ jobs: tag: name: New tag runs-on: ubuntu-latest + environment: production steps: - uses: actions/checkout@master + with: + fetch-depth: 0 + - name: Verify release tag is reachable from master + run: | + git fetch --no-tags --depth=50 origin master:refs/remotes/origin/master + if ! git merge-base --is-ancestor "$GITHUB_SHA" refs/remotes/origin/master; then + echo "::error::Tag $GITHUB_REF_NAME ($GITHUB_SHA) is not reachable from master. Refusing to deploy." + exit 1 + fi - name: WordPress Plugin Deploy uses: 10up/action-wordpress-plugin-deploy@master env: From 048af831bb3fbc8e4f95b1fc81b6a17d6bdf065d Mon Sep 17 00:00:00 2001 From: kiransbsf Date: Thu, 16 Jul 2026 16:39:24 +0530 Subject: [PATCH 3/5] fix: define composer allow-plugins to fix phpcs workflow --- composer.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/composer.json b/composer.json index e112895..1a14906 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,11 @@ { "name": "pratikchaskar/custom-template-learndash", "description": "Custom Template Learndash in Astra Theme", + "config": { + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true + } + }, "require-dev": { "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", "wp-coding-standards/wpcs": "dev-master", From 5a2d4b84c5f7ba7cd21e9875ad78857a2c01c835 Mon Sep 17 00:00:00 2001 From: kiransbsf Date: Thu, 16 Jul 2026 18:57:27 +0530 Subject: [PATCH 4/5] ci: only sync readme/assets in asset-update workflow (IGNORE_OTHER_FILES) --- .github/workflows/push-asset-readme-update.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push-asset-readme-update.yml b/.github/workflows/push-asset-readme-update.yml index 1929eb4..17059fa 100644 --- a/.github/workflows/push-asset-readme-update.yml +++ b/.github/workflows/push-asset-readme-update.yml @@ -14,4 +14,5 @@ jobs: uses: 10up/action-wordpress-plugin-asset-update@stable env: SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} - SVN_USERNAME: ${{ secrets.SVN_USERNAME }} \ No newline at end of file + SVN_USERNAME: ${{ secrets.SVN_USERNAME }} + IGNORE_OTHER_FILES: true \ No newline at end of file From 63cbcc833fde17758c13a108a92954920f855db5 Mon Sep 17 00:00:00 2001 From: kiransbsf Date: Mon, 24 Aug 2026 15:34:21 +0530 Subject: [PATCH 5/5] Bump Tested up to WordPress 7.1 --- README.md | 2 +- readme.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e3ea908..c659d11 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ **Tags:** liftlms, course, page-buider, beaver builder, elementor, visual composer **Requires at least:** 4.4 **Requires PHP:** 5.3 -**Tested up to:** 7.0 +**Tested up to:** 7.1 **Stable tag:** 1.0.7 **License:** GPLv2 or later **License URI:** https://www.gnu.org/licenses/gpl-2.0.html diff --git a/readme.txt b/readme.txt index 6c48da1..e007db7 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: pratikchaskar Tags: liftlms, course, page-buider, beaver builder, elementor, visual composer Requires at least: 4.4 Requires PHP: 5.3 -Tested up to: 7.0 +Tested up to: 7.1 Stable tag: 1.0.7 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html