Skip to content

Commit

Permalink
Merge pull request #273 from UN-OCHA/OPS-10254-config-in-updates
Browse files Browse the repository at this point in the history
chore: config in updates
  • Loading branch information
lazysoundsystem authored Jun 27, 2024
2 parents 3b96d7e + 8577850 commit 54ca0b8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/composer-update-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Run Composer Update with Config

on:
workflow_dispatch:

jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Update The Thing with config
id: update-action
uses: UN-OCHA/actions/composer-update@OPS-10254-config-too
with:
aws_access_key_id: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }}
github_access_token: ${{ secrets.PAT }}
patch_branch: ${{ github.head_ref || github.ref_name }}
patch_maintainers: ${{ secrets.DRUPAL_MAINTAINERS }}
slack_bot_token: ${{ secrets.SLACK_BOT_TOKEN }}
slack_channel_name: ${{ vars.SLACK_CHANNEL }}
4 changes: 2 additions & 2 deletions tests/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "2.2"

networks:
default:

Expand Down Expand Up @@ -49,6 +47,8 @@ services:
# Mount the folders needed for the tests.
- "../phpcs.xml:/srv/www/phpcs.xml:ro"
- "../phpunit.xml:/srv/www/phpunit.xml:ro"
# Mount the volume with the config.
- "../config:/srv/www/config:rw"
# Mount local custom code.
- "../html/modules/custom:/srv/www/html/modules/custom:ro"
- "../html/themes/custom:/srv/www/html/themes/custom:ro"
Expand Down

0 comments on commit 54ca0b8

Please sign in to comment.