-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from mailchimp/feature/1-add-actions
Add WP Version Checker and Build Release Zip workflows
- Loading branch information
Showing
5 changed files
with
92 additions
and
0 deletions.
There are no files selected for viewing
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,22 @@ | ||
# Directories to ignore | ||
/.git | ||
/.github | ||
/.wordpress-org | ||
/node_modules | ||
/tests | ||
/vendor | ||
|
||
# Files to ignore | ||
/.* | ||
/CHANGELOG.md | ||
/CODE_OF_CONDUCT.md | ||
/composer.json | ||
/composer.lock | ||
/CONTRIBUTING.md | ||
/CREDITS.md | ||
/LICENSE.md | ||
/package-lock.json | ||
/package.json | ||
/phpcs-compat.xml | ||
/phpcs.xml | ||
/README.md |
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,19 @@ | ||
/.github export-ignore | ||
/.wordpress-org export-ignore | ||
/node_modules export-ignore | ||
/tests export-ignore | ||
/vendor export-ignore | ||
|
||
/.* export-ignore | ||
/CHANGELOG.md export-ignore | ||
/CODE_OF_CONDUCT.md export-ignore | ||
/composer.json export-ignore | ||
/composer.lock export-ignore | ||
/CONTRIBUTING.md export-ignore | ||
/CREDITS.md export-ignore | ||
/LICENSE.md export-ignore | ||
/package-lock.json export-ignore | ||
/package.json export-ignore | ||
/phpcs-compat.xml export-ignore | ||
/phpcs.xml export-ignore | ||
/README.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,22 @@ | ||
name: Build release zip | ||
|
||
on: | ||
workflow_dispatch: | ||
workflow_call: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
name: Build release zip | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Generate ZIP file | ||
uses: 10up/action-wordpress-plugin-build-zip@stable | ||
env: | ||
SLUG: mailchimp |
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,25 @@ | ||
name: WordPress version checker | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
- main | ||
pull_request: | ||
branches: | ||
- develop | ||
schedule: | ||
- cron: '0 0 * * 1' | ||
|
||
permissions: | ||
issues: write | ||
|
||
jobs: | ||
wordpress-version-checker: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: WordPress version checker | ||
uses: skaut/wordpress-version-checker@v2.2.0 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} |
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,4 @@ | ||
{ | ||
"readme": "readme.txt", | ||
"channel": "rc" | ||
} |