Skip to content

Commit

Permalink
fix: delete unused workflows and update them to check plugin version …
Browse files Browse the repository at this point in the history
…and generate zip with releases
  • Loading branch information
MaferMazu committed Apr 2, 2024
1 parent 645a92d commit 49fe928
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 112 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/commit-linting.yml

This file was deleted.

95 changes: 0 additions & 95 deletions .github/workflows/continuous-integration.yml

This file was deleted.

9 changes: 3 additions & 6 deletions .github/workflows/upload-release-zip.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
name: Build & Upload zip
name: Upload zip to latest release

# Only trigger, when the build workflow succeeded
on:
workflow_run:
workflows: ["Continuous Integration"]
types:
- completed
release:
types: [published]

jobs:
upload_zip:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/wordpress-cs-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,8 @@ jobs:
- name: Show PHPCS results in PR
if: ${{ always() && steps.phpcs.outcome == 'failure' }}
run: cs2pr ./phpcs-report.xml

- name: Run plugin check
uses: swissspidy/wp-plugin-check-action@v1
with:
checks: 'plugin_readme'

0 comments on commit 49fe928

Please sign in to comment.