Skip to content

Commit

Permalink
initial changes
Browse files Browse the repository at this point in the history
  • Loading branch information
greta-mik committed Sep 11, 2024
1 parent dd76b5a commit ce56f59
Show file tree
Hide file tree
Showing 19 changed files with 573 additions and 49 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @omnisend/integrations
21 changes: 21 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: PHP Standards
run-name: PHP Standards 🔀 ${{ github.ref_name }}

on: push

jobs:
Lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Validate composer.json and composer.lock
run: composer validate --strict

- name: Install dependencies
run: |
composer install --prefer-dist --no-progress
- name: Lint PHP files
run: ./lint.sh check
16 changes: 16 additions & 0 deletions .github/workflows/publish-plugin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Publish plugin

on: [workflow_dispatch]
jobs:
svn:
name: Release new tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: WordPress Plugin Deploy
uses: omnisend/action-wordpress-plugin-deploy@v1.0.3
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SLUG: omnisend-for-paid-memberships-pro-add-on
BUILD_DIR: omnisend-for-paid-memberships-pro
70 changes: 22 additions & 48 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,50 +1,24 @@
# These are some examples of commonly ignored file patterns.
# You should customize this list as applicable to your project.
# Learn more about .gitignore:
# https://www.atlassian.com/git/tutorials/saving-changes/gitignore
woocommerce-omnisend/.vscode/*
.vscode/*
.idea/*
.svn

# Node artifact files
node_modules/
dist/

# Compiled Java class files
*.class

# Compiled Python bytecode
*.py[cod]

# Log files
*.log

# Package files
*.jar

# Maven
target/
dist/

# JetBrains IDE
.idea/

# Unit test reports
TEST*.xml

# Generated by MacOS
# These are needed when repo is checked out at the location of working WordPress site
.DS_Store

# Generated by Windows
Thumbs.db

# Applications
*.app
*.exe
*.war

# Large media files
*.mp4
*.tiff
*.avi
*.flv
*.mov
*.wmv

akismet/
hello.php
index.php
klaviyo
mailchimp-for-woocommerce
woocommerce
wp-crontrol
code-snippets

# Composer
composer.phar
/vendor/
# Local wordpress setup
.wordpress
.env

*.zip
16 changes: 16 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "omnisend/paid-memberships-pro-addon",
"description": "Omnisend for Paid Memberships Pro Add-on",
"license": "proprietary",
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"require-dev": {
"php": ">=7.1.0",
"wp-coding-standards/wpcs": "^3.0",
"squizlabs/php_codesniffer": "^3.7.1",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0"
}
}
Loading

0 comments on commit ce56f59

Please sign in to comment.