Skip to content

Commit

Permalink
fix: dependabot and ci updates
Browse files Browse the repository at this point in the history
  • Loading branch information
arzola committed May 6, 2024
1 parent 8782da1 commit 374e634
Show file tree
Hide file tree
Showing 9 changed files with 550 additions and 628 deletions.
35 changes: 30 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,38 @@ version: 2
updates:
# Maintain dependencies for Composer
- package-ecosystem: "composer"
# Look for `composer.json` and `composer.lock` files in the root directory
directory: "/"
# Check for updates weekly
schedule:
interval: "weekly"
allow:
# Allow direct updates only (for packages named in composer.json)
- dependency-type: "direct"
# Allow up to 10 open pull requests for composer dependencies
open-pull-requests-limit: 10
open-pull-requests-limit: 5
versioning-strategy: "increase-if-necessary"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]
groups:
composer-dependencies:
dependency-type: "production"
composer-dev-dependencies:
dependency-type: "development"

# Maintain dependencies for npm
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
allow:
- dependency-type: "direct"
open-pull-requests-limit: 5
versioning-strategy: "increase-if-necessary"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]
groups:
npm-dependencies:
dependency-type: "production"
npm-dev-dependencies:
dependency-type: "development"
npm-security-updates:
applies-to: security-updates
10 changes: 10 additions & 0 deletions .github/workflows/ensure-npm-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Npm build ⚙️

on:
pull_request:
branches: [ dev ]

jobs:
update-npm-build:
if: ${{ github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]' }}
uses: pressbooks/reusable-workflows/.github/workflows/npm-build.yml@dev
12 changes: 12 additions & 0 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Prepare Release

on:
push:
branches:
- dev

jobs:
deploy:
uses: pressbooks/reusable-workflows/.github/workflows/prepare-release.yml@dev
secrets:
ga_token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18
v20
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.3.0"
}
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ Install the [GitHub Updater plugin](https://github.com/afragen/github-updater).

Then, from the GitHub Updater interface, navigate to the "Install Theme" tab. Enter [https://github.com/pressbooks/pressbooks-jacobs](https://github.com/pressbooks/pressbooks-jacobs) as the Theme URI, then click "Install Theme". Tagged updates to this theme will then be available as normal WordPress updates.

## Changelog
### Changelog

### 1.2.1

* See: https://github.com/pressbooks/pressbooks-jacobs/releases/tag/1.2.1
* Full release history available at: https://github.com/pressbooks/pressbooks-jacobs/releases
Please see the [CHANGELOG](CHANGELOG.md) file for more information.
Loading

0 comments on commit 374e634

Please sign in to comment.