-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
31 lines (31 loc) · 1.06 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: 'Drupal Composer updates'
description: 'Used to perform updates of Drupal core and/or contributed modules'
author: 'valicm'
branding:
icon: check-circle
color: blue
inputs:
update_type:
description: 'Are we doing minor or major updates. Allowed values are semver-safe-update or all'
required: false
default: 'semver-safe-update'
update_core:
description: 'Skip checking for Drupal core updates. Default true'
required: false
default: 'true'
update_exclude:
description: 'Modules excluded from checks. Use comma separated list: token,redirect,pathauto'
required: false
runs:
using: "composite"
steps:
- run: echo "INPUT_UPDATE_TYPE=${{ inputs.update_type }}" >> $GITHUB_ENV
shell: bash
- run: echo "INPUT_UPDATE_CORE=${{ inputs.update_core }}" >> $GITHUB_ENV
shell: bash
- run: echo "INPUT_UPDATE_EXCLUDE=${{ inputs.update_exclude }}" >> $GITHUB_ENV
shell: bash
- run: chmod +x ${{ github.action_path }}/drupal-update.sh
shell: bash
- run: $GITHUB_ACTION_PATH/drupal-update.sh
shell: bash