-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Conflicts: # readme.md
- Loading branch information
Showing
56 changed files
with
4,519 additions
and
1,522 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_style = tab | ||
indent_size = 4 | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[*.yml] | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
* text=auto | ||
|
||
# Directories | ||
/.git export-ignore | ||
/.github export-ignore | ||
/.wordpress-org export-ignore | ||
/node_modules export-ignore | ||
/tests export-ignore | ||
/vendor export-ignore | ||
|
||
# Files | ||
/.editorconfig export-ignore | ||
/.gitattributes export-ignore | ||
/.gitignore export-ignore | ||
/.npmrc export-ignore | ||
/.nvmrc export-ignore | ||
/CODE_OF_CONDUCT.md export-ignore | ||
/codeception.dist.yml export-ignore | ||
/composer.lock export-ignore | ||
/CONTRIBUTING.md export-ignore | ||
/docker-compose.yml export-ignore | ||
/package-lock.json export-ignore | ||
/package.json export-ignore | ||
/phpcs.xml.dist export-ignore | ||
/phpstan.neon.dist export-ignore | ||
/SECURITY.md export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow | ||
|
||
name: Acceptance Tests | ||
on: | ||
push: | ||
branches: | ||
- 'develop' | ||
- 'trunk' | ||
- 'master' | ||
pull_request: | ||
branches: | ||
- '**' | ||
schedule: | ||
# Once weekly on Mondays at 04:00 UTC. | ||
# | ||
# ┌───────────── minute (0 - 59) | ||
# │ ┌────────── hour (0 - 23) | ||
# │ │ ┌─────── day of the month (1 - 31) | ||
# │ │ │ ┌──── month (1 - 12 or JAN-DEC) | ||
# │ │ │ │ ┌─ day of the week (0 - 6 or SUN-SAT) | ||
# │ │ │ │ │ | ||
# │ │ │ │ │ | ||
# │ │ │ │ │ | ||
- cron: '0 4 * * 1' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
name: WP ${{ matrix.wp }} / PHP ${{ matrix.php }} | ||
strategy: | ||
matrix: | ||
wp: | ||
- 'nightly' | ||
- '6.4' | ||
- '6.3' | ||
php: | ||
- '8.2' | ||
- '8.1' | ||
- '8.0' | ||
- '7.4' | ||
dev: | ||
- ${{ github.ref_name == 'develop' }} | ||
exclude: | ||
# Only run the nightly tests on the develop branch. | ||
- wp: 'nightly' | ||
dev: false | ||
fail-fast: false | ||
uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-acceptance-tests.yml@trunk | ||
with: | ||
wp: ${{ matrix.wp }} | ||
php: ${{ matrix.php }} | ||
node: false |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,19 @@ | ||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow | ||
|
||
name: Deploy Tag | ||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
wordpress: | ||
name: WordPress.org | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v1 | ||
|
||
# @TODO need to cache the npm dependencies | ||
- name: Install Dependencies | ||
run: npm install | ||
concurrency: WordPress.org | ||
|
||
- name: Populate Changelog | ||
run: node .github/workflows/changelog.js readme.md | ||
env: | ||
TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: WordPress Plugin Deploy | ||
uses: 10up/action-wordpress-plugin-deploy@1.4.1 | ||
env: | ||
SVN_USERNAME: ${{ secrets.WPORG_SVN_USERNAME }} | ||
SVN_PASSWORD: ${{ secrets.WPORG_SVN_PASSWORD }} | ||
jobs: | ||
test: | ||
name: Deploy Tag | ||
uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-deploy-tag.yml@trunk | ||
with: | ||
plugin: user-switching | ||
readme: readme.md | ||
secrets: | ||
WPORG_SVN_USERNAME: ${{ secrets.WPORG_SVN_USERNAME }} | ||
WPORG_SVN_PASSWORD: ${{ secrets.WPORG_SVN_PASSWORD }} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.