Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have dependabot run composer update for us #172

Merged
merged 11 commits into from
Nov 20, 2024
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 }}"
Loading