Skip to content

Commit

Permalink
Have dependabot run composer update for us (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall authored Nov 20, 2024
1 parent 72538eb commit a2029a4
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "weekly"
# pickup security releases on wednesdays
# https://www.drupal.org/drupal-security-team/security-release-numbers-and-release-timing#s-release-timing
day: "thursday"
versioning-strategy: increase-if-necessary
allow:
- dependency-name: "drupal/*"
- dependency-name: "drush/drush"
- dependency-name: "islandora-rdm/islandora_fits"
- dependency-name: "islandora/views_nested_details"
- dependency-name: "mjordan/islandora_workbench_integration"
commit-message:
prefix: "composer update"
include: "scope"
31 changes: 30 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ on:
pull_request: {}
workflow_dispatch: {}

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
ubuntu-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down Expand Up @@ -51,3 +55,28 @@ jobs:
run: |
composer exec -- drush en config_inspector
composer exec -- drush config:inspect --only-error --detail
isle-test:
runs-on: ubuntu-latest
name: ISLE site template
steps:
- name: Checkout isle-site-template
uses: actions/checkout@v4
with:
repository: Islandora-Devops/isle-site-template

- name: Install mkcert
run: |-
curl -JLO "https://dl.filippo.io/mkcert/latest?for=linux/amd64"
chmod +x mkcert-v*-linux-amd64
sudo cp mkcert-v*-linux-amd64 /usr/local/bin/mkcert
- name: Start islandora-starter-site
run: ./tests/init-template-starter.sh
env:
# isle-buildkit tag
ISLANDORA_TAG: main
# the branch the PR is running on
ISLANDORA_STARTER_REF: "heads/${{ github.event_name == 'pull_request' && github.head_ref || github.ref_name }}"
# if coming from a fork, get the owner's repo
ISLANDORA_STARTER_OWNER: "${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.owner.login || github.repository_owner }}"

0 comments on commit a2029a4

Please sign in to comment.