Skip to content

Commit 40b92dc

Browse files
authored
Changed Repo
1 parent 3e72e7a commit 40b92dc

21 files changed

+924
-85
lines changed

.github/FUNDING.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
#patreon: # Replace with a single Patreon username
44

5-
github: enginescript
6-
ko_fi: enginescript
7-
buy_me_a_coffee: enginescript
8-
liberapay: enginescript
5+
github: PDowney
6+
ko_fi: PDowney
7+
buy_me_a_coffee: PDowney
8+
liberapay: PDowney
99
thanks_dev: gh/pdowney

.github/ISSUE_TEMPLATE/compatibility-test-failure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The automated compatibility test for PHP {{ env.PHP_VERSION }} has failed.
1919

2020
### Next Steps
2121

22-
This issue has been automatically created because the Simple WP Optimizer plugin failed to load properly with PHP {{ env.PHP_VERSION }}. This could indicate compatibility issues that need to be addressed.
22+
This issue has been automatically created because the Optimizations ACE MC plugin failed to load properly with PHP {{ env.PHP_VERSION }}. This could indicate compatibility issues that need to be addressed.
2323

2424
#### Recommended Actions:
2525

.github/ISSUE_TEMPLATE/plugin-check-failure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ assignees: []
88

99
## WordPress Plugin Check Failure
1010

11-
The WordPress Plugin Check action has identified issues with the Simple WP Optimizer plugin.
11+
The WordPress Plugin Check action has identified issues with the Optimizations ACE MC plugin.
1212

1313
### Details
1414

.github/dependabot.yml

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,57 @@ updates:
55
- package-ecosystem: "github-actions"
66
directory: "/"
77
schedule:
8-
interval: "weekly"
8+
interval: "daily"
99
day: "monday"
1010
time: "09:00"
1111
# Set custom labels on pull requests
1212
labels:
1313
- "dependencies"
1414
- "security"
1515
- "automated"
16+
- "maintenance"
1617
# Limit the number of open PRs
1718
open-pull-requests-limit: 10
1819
# Assign reviewers automatically
1920
reviewers:
20-
- "EngineScript"
21+
- "PDowney"
2122
# Create a group of updates for all actions
2223
groups:
2324
actions:
2425
patterns:
2526
- "*"
26-
27+
28+
# Updates for Composer dependencies (PHP packages)
29+
- package-ecosystem: "composer"
30+
directory: "/"
31+
schedule:
32+
interval: "daily"
33+
day: "monday"
34+
time: "09:00"
35+
# Set custom labels on pull requests
36+
labels:
37+
- "dependencies"
38+
- "php"
39+
- "automated"
40+
- "maintenance"
41+
# Limit the number of open PRs
42+
open-pull-requests-limit: 10
43+
# Assign reviewers automatically
44+
reviewers:
45+
- "PDowney"
46+
# Group updates by dependency type
47+
groups:
48+
# Group all dev dependencies together
49+
dev-dependencies:
50+
patterns:
51+
- "*"
52+
dependency-type: "development"
53+
# Group production dependencies (if any are added later)
54+
production-dependencies:
55+
patterns:
56+
- "*"
57+
dependency-type: "production"
58+
# Allow updates to all dependency types
59+
allow:
60+
- dependency-type: "direct"
61+
- dependency-type: "indirect"

.github/labeler.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
# Core plugin functionality
88
core:
99
- changed-files:
10-
- any-glob-to-any-file: simple-wp-optimizer.php
11-
- any-glob-to-any-file: includes/**/*
10+
- any-glob-to-any-file: optimizations-ace-mc.php
1211
- any-glob-to-any-file: assets/js/**/*
1312

1413
# Frontend related changes

.github/workflows/continuous-integration.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This workflow runs continuous integration checks on the Simple WP Optimizer plugin.
1+
# This workflow runs continuous integration checks on the Optimizations ACE MC plugin.
22
# It performs code linting for both PHP and JavaScript files and builds the plugin package.
33
# The workflow is triggered on push to main branch and on pull requests to ensure code quality.
44
# It creates and stores a plugin zip file as an artifact that can be used for testing.
@@ -161,27 +161,26 @@ jobs:
161161
162162
- name: Create plugin package
163163
run: |
164-
mkdir -p build/simple-wp-optimizer
164+
mkdir -p build/optimizations-ace-mc
165165
166166
# Copy main plugin file
167-
cp simple-wp-optimizer.php build/simple-wp-optimizer/
167+
cp optimizations-ace-mc.php build/optimizations-ace-mc/
168168
169169
# Copy directories if they exist
170-
[ -d assets ] && cp -r assets build/simple-wp-optimizer/ || echo "No assets directory found"
171-
[ -d includes ] && cp -r includes build/simple-wp-optimizer/ || echo "No includes directory found"
172-
[ -d languages ] && cp -r languages build/simple-wp-optimizer/ || echo "No languages directory found"
173-
[ -d templates ] && cp -r templates build/simple-wp-optimizer/ || echo "No templates directory found"
170+
[ -d assets ] && cp -r assets build/optimizations-ace-mc/ || echo "No assets directory found"
171+
[ -d languages ] && cp -r languages build/optimizations-ace-mc/ || echo "No languages directory found"
172+
[ -d templates ] && cp -r templates build/optimizations-ace-mc/ || echo "No templates directory found"
174173
175174
# Copy additional files if they exist
176-
[ -f readme.txt ] && cp readme.txt build/simple-wp-optimizer/ || echo "No readme.txt found"
177-
[ -f LICENSE ] && cp LICENSE build/simple-wp-optimizer/ || echo "No LICENSE file found"
175+
[ -f readme.txt ] && cp readme.txt build/optimizations-ace-mc/ || echo "No readme.txt found"
176+
[ -f LICENSE ] && cp LICENSE build/optimizations-ace-mc/ || echo "No LICENSE file found"
178177
179178
# Create zip file
180179
cd build
181-
zip -r simple-wp-optimizer.zip simple-wp-optimizer
180+
zip -r optimizations-ace-mc.zip optimizations-ace-mc
182181
183182
- name: Upload build artifact
184183
uses: actions/upload-artifact@v4
185184
with:
186-
name: simple-wp-optimizer
187-
path: build/simple-wp-optimizer.zip
185+
name: optimizations-ace-mc
186+
path: build/optimizations-ace-mc.zip

.github/workflows/new-issue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This workflow automatically posts a guidance comment on new issues.
22
# It provides instructions to help users submit detailed information about their
3-
# WordPress environment and the issue they're experiencing with the Simple WP Optimizer plugin.
3+
# WordPress environment and the issue they're experiencing with the Optimizations ACE MC plugin.
44
# This helps maintainers diagnose and fix issues more efficiently.
55

66
name: Issue Guidance

.github/workflows/new-pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This workflow automatically posts a guidance comment on new pull requests.
22
# It welcomes contributors and provides a brief message to acknowledge their
3-
# contribution to the Simple WP Optimizer plugin.
3+
# contribution to the Optimizations ACE MC plugin.
44
# The workflow is triggered whenever a new pull request is opened.
55

66
name: New Pull Request Guidance
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
issue-number: ${{ github.event.pull_request.number }}
2323
body: |
24-
Thanks for contributing to Simple WP Optimizer! 🎉
24+
Thanks for contributing to Optimizations ACE MC! 🎉
2525
2626
**Before we review:**
2727
- [ ] Have you tested your changes with WordPress 6.5+?

.github/workflows/release.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This workflow automates the release process for the Simple WP Optimizer plugin.
1+
# This workflow automates the release process for the Optimizations ACE MC plugin.
22
# It extracts the version number from the main plugin file, checks if a release already exists,
33
# creates a zip file with the plugin contents, extracts release notes from the changelog,
44
# creates a GitHub release with the zip file attached, and updates version references in the README.
@@ -29,7 +29,7 @@ jobs:
2929
- name: Get latest version
3030
id: get_version
3131
run: |
32-
VERSION=$(grep -oP "Version: \K[0-9]+\.[0-9]+\.[0-9]+" simple-wp-optimizer.php)
32+
VERSION=$(grep -oP "Version: \K[0-9]+\.[0-9]+\.[0-9]+" optimizations-ace-mc.php)
3333
echo "version=$VERSION" >> $GITHUB_OUTPUT
3434
echo "Found version: $VERSION"
3535
@@ -48,12 +48,13 @@ jobs:
4848
- name: Create zip file
4949
if: steps.check_release.outputs.exists == 'false'
5050
run: |
51-
mkdir -p simple-wp-optimizer
52-
cp simple-wp-optimizer.php simple-wp-optimizer/
53-
cp README.md simple-wp-optimizer/
54-
cp CHANGELOG.md simple-wp-optimizer/
55-
cp LICENSE simple-wp-optimizer/ || echo "No LICENSE file found"
56-
zip -r simple-wp-optimizer-${{ steps.get_version.outputs.version }}.zip simple-wp-optimizer
51+
mkdir -p optimizations-ace-mc
52+
cp optimizations-ace-mc.php optimizations-ace-mc/
53+
cp README.md optimizations-ace-mc/
54+
cp CHANGELOG.md optimizations-ace-mc/
55+
cp LICENSE optimizations-ace-mc/ || echo "No LICENSE file found"
56+
[ -d languages ] && cp -r languages optimizations-ace-mc/ || echo "No languages directory found"
57+
zip -r optimizations-ace-mc-${{ steps.get_version.outputs.version }}.zip optimizations-ace-mc
5758
5859
- name: Get changelog entry
5960
if: steps.check_release.outputs.exists == 'false'
@@ -79,7 +80,7 @@ jobs:
7980
3. Activate the plugin
8081
8182
[Full Documentation](https://github.com/${{ github.repository }})
82-
files: simple-wp-optimizer-${{ steps.get_version.outputs.version }}.zip
83+
files: optimizations-ace-mc-${{ steps.get_version.outputs.version }}.zip
8384
draft: false
8485
prerelease: false
8586
generate_release_notes: false
@@ -94,7 +95,7 @@ jobs:
9495
TMP_FILE=$(mktemp)
9596
9697
# Update the version badge with the new version and logo
97-
sed -E 's/\[\!Version\]\(https:\/\/img\.shields\.io\/badge\/Version-[0-9]+\.[0-9]+\.[0-9]+-orange\.svg\?logo=github\)\]\(https:\/\/github\.com\/EngineScript\/Simple-WP-Optimizer\/releases\/latest\/download\/simple-wp-optimizer-[0-9]+\.[0-9]+\.[0-9]+\.zip\)/\[\!Version\]\(https:\/\/img\.shields\.io\/badge\/Version-'"$VERSION"'-orange\.svg\?logo=github\)\]\(https:\/\/github\.com\/EngineScript\/Simple-WP-Optimizer\/releases\/latest\/download\/simple-wp-optimizer-'"$VERSION"'\.zip\)/g' "$README_FILE" > "$TMP_FILE"
98+
sed -E 's/\[\!Version\]\(https:\/\/img\.shields\.io\/badge\/Version-[0-9]+\.[0-9]+\.[0-9]+-orange\.svg\?logo=github\)\]\(https:\/\/github\.com\/PDowney\/optimizations-ace-mc\/releases\/latest\/download\/optimizations-ace-mc-[0-9]+\.[0-9]+\.[0-9]+\.zip\)/\[\!Version\]\(https:\/\/img\.shields\.io\/badge\/Version-'"$VERSION"'-orange\.svg\?logo=github\)\]\(https:\/\/github\.com\/PDowney\/optimizations-ace-mc\/releases\/latest\/download\/optimizations-ace-mc-'"$VERSION"'\.zip\)/g' "$README_FILE" > "$TMP_FILE"
9899
99100
# Replace file if changes were made
100101
if ! cmp -s "$README_FILE" "$TMP_FILE"; then

0 commit comments

Comments
 (0)