Skip to content

Commit

Permalink
Add workflow_dispatch and remove dummy function
Browse files Browse the repository at this point in the history
  • Loading branch information
attackant committed Nov 2, 2023
1 parent b291066 commit 76934db
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/node-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Node Tests

on:
workflow_dispatch:
pull_request:
types: [ opened, synchronize, reopened, ready_for_review ]
branches:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/phpcs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: PHP Coding Standards

on:
workflow_dispatch:
pull_request:
types: [ opened, synchronize, reopened, ready_for_review ]
branches:
Expand Down
6 changes: 0 additions & 6 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,3 @@
*/

// Silence is golden.

if ( ! function_exists('add_action' ) ) {
function do_nothing() {
// Do nothing.
}
}

0 comments on commit 76934db

Please sign in to comment.