diff --git a/.github/workflows/phpcs.yml b/.github/workflows/phpcs.yml index b663394a..49a70994 100644 --- a/.github/workflows/phpcs.yml +++ b/.github/workflows/phpcs.yml @@ -1,10 +1,21 @@ on: + push: + branches: + - main + - trunk + # Do not run on auto submitted branches + - '!**-phpcbf' + - '!renovate/**' + - '!dependabot/**' + paths: + - .github/workflows/phpcs.yml + - '**.php' pull_request: - branches-ignore: + branches: # Do not run on auto submitted branches - - '**-phpcbf' - - 'renovate/' - - 'dependabot/' + - '!**-phpcbf' + - '!renovate/**' + - '!dependabot/**' paths: - '**.php' diff --git a/.github/workflows/phplint.yml b/.github/workflows/phplint.yml index f8eaaf7e..12d6fee4 100644 --- a/.github/workflows/phplint.yml +++ b/.github/workflows/phplint.yml @@ -1,10 +1,10 @@ on: pull_request: - branches-ignore: + branches: # Do not run on auto submitted branches - - '**-phpcbf' - - 'renovate/' - - 'dependabot/' + - '!**-phpcbf' + - '!renovate/**' + - '!dependabot/**' paths: - '**.php' diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index e1757bf8..d5556fb5 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -70,51 +70,14 @@ jobs: - name: Create Sync Zip run: | cd ./zip - zip -r ../linchpin-mmxxiii.zip ./ + zip -r ../ash.zip ./ cd ../ - name: Upload files to a GitHub release uses: svenstaro/upload-release-action@2.5.0 with: repo_token: ${{ secrets.GITHUB_TOKEN }} - file: linchpin-mmxxiii.zip + file: ash.zip tag: ${{ steps.get_version.outputs.tag }} - name: linchpin-mmxxiii.zip - overwrite: true - - - name: Configure SSH Connection with WP Engine - run: | - SSH_PATH="$HOME/.ssh" - KNOWN_HOSTS_PATH="$SSH_PATH/known_hosts" - SSH_KEY_PRIVATE_PATH="$SSH_PATH/github_action" - mkdir -p "$SSH_PATH" - ssh-keyscan -t rsa "$SSH_HOST" >> "$KNOWN_HOSTS_PATH" - # Copy Secret Keys to container - echo "$SSH_KEY" > "$SSH_KEY_PRIVATE_PATH" - - chmod 700 "$SSH_PATH" - chmod 644 "$KNOWN_HOSTS_PATH" - chmod 600 "$SSH_KEY_PRIVATE_PATH" - cat >>~/.ssh/config <