We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cada5a commit 3f6fdfbCopy full SHA for 3f6fdfb
1 file changed
.github/workflows/vendor-upgrade.yml
@@ -10,6 +10,11 @@ on:
10
required: true
11
default: 'latest'
12
type: string
13
+ patch:
14
+ description: 'Contents of patch file to apply before committing'
15
+ required: false
16
+ default: ''
17
+ type: string
18
19
jobs:
20
upgrade:
@@ -156,6 +161,14 @@ jobs:
156
161
git config user.email "git-action@gooddata.com"
157
162
158
163
git checkout -b "$BRANCH_NAME"
164
+
165
+ PATCH="${{ inputs.patch }}"
166
+ if [[ -n "$PATCH" ]]; then
167
+ printf '%b' "$PATCH" > /tmp/vendor-upgrade.patch
168
+ git apply /tmp/vendor-upgrade.patch
169
+ echo "Applied patch"
170
+ fi
171
159
172
git add .
160
173
174
if git diff --cached --quiet; then
0 commit comments