Skip to content

An open source collection of Linchpin's configs. Primarily used for Renovate bot and shared workflows

License

Notifications You must be signed in to change notification settings

linchpin/actions

Repository files navigation

Linchpin Shared Project Configs

An open source collection of Linchpin's configs. Primarily used for Renovate bot and shared workflows. While there are some aspects of this repo that are specific to Linchpin and our build process. Other organizations can take advantage of them want to use them.

license

Github Reusable Workflows

Below are resuable/shared workflows. In the coming weeks we will be adding some examples on how to utilize these workflows. They are relative straight forward so if you are used to actions and workflows you can use these as a starting point

File Status Requirements description
create-release.yml Active Status Create release workflow. Downloads all assets, and runs through the build process creating a single zip. Typically used during a tagged release
deploy-wpengine.yml Active Status SSH Access, SSH Key Pair Deploy to a WP Engine platform based environment
deploy-cloudways.yml Active Status SSH Access, SSH Key Pair Deploy to a Cloudways platform environment
phpcs.yml Active Status Scan for WordPress Coding standards based on the phpcs.xml config of the project

Example Shared Workflow Usage

Within your projects .github/workflows folder

name: Create Release
on:
  push:
    tags:
      - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

jobs:
  create_release:
    name: Create Release
    uses: linchpin/actions/.github/workflows/create-release.yml@main
    with:
      themes: '["my-wordpress-theme"]'
    secrets:
      packagist_auth: ${{ secrets.custom_packagist_auth_key }}

Renovate Bot Scanning Configurations

File description
global.json Shared global config for renovatebot
wordpress.json Shared config for renovatebot for WordPress installs.
js.json Shared config for javascript projects (gulp builds, etc )

Make deployments faster/more automated. Especially when using Smart Plugin Manager, Autopilot, Cloudways Plugin Updates

File Description
remote-plugin-install A bash script to load plugins via the WP CLI including a remote satispress packagist

| [remmote-plugin-install]

More Useful Configs

File Description
default.distignore Default .distignore be loaded during deployment (and renamed to .distignore) if no .distignore is provided within your proejct

Linchpin

About

An open source collection of Linchpin's configs. Primarily used for Renovate bot and shared workflows

Topics

Resources

License

Stars

Watchers

Forks