Drush Security & Composer Outdated Check #411
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Drush Security & Composer Outdated Check | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
push: | |
branches: [ develop ] | |
jobs: | |
check: | |
name: Security & Outdated Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install Drupal core dependencies and modules | |
run: | | |
composer --no-interaction --no-progress --prefer-dist --optimize-autoloader install | |
- name: composer update | |
run: | | |
composer update | |
- name: Run security check | |
run: | | |
./vendor/bin/drush pm:security | |
- name: composer outdated | |
run: | | |
composer show -o |