Skip to content

Commit 3e537b0

Browse files
authored
Add qtkeychain and clarify commits
1 parent 79d4699 commit 3e537b0

1 file changed

Lines changed: 45 additions & 5 deletions

File tree

.github/workflows/update-3rdparty.yml

Lines changed: 45 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
_update triggered by ${{ github.ref }} ${{ github.sha }}_
4848
branch: update-ire-mapping-script-${{ github.sha }}
4949
path: src/
50-
commit-message: (autocommit) Updated IRE mapping script
50+
commit-message: (autocommit) Updated IRE mapping script to latest upstream
5151
author: "mudlet-machine-account <mudlet-machine-account@users.noreply.github.com>"
5252

5353
update-edbee:
@@ -87,7 +87,7 @@ jobs:
8787
_update triggered by ${{ github.ref }} ${{ github.sha }}_
8888
branch: update-edbee-lib-${{ github.sha }}
8989
path: 3rdparty/edbee-lib
90-
commit-message: (autocommit) Updated edbee-lib submodule
90+
commit-message: (autocommit) Updated edbee-lib submodule to latest in our fork
9191
author: "mudlet-machine-account <mudlet-machine-account@users.noreply.github.com>"
9292

9393
update-sparkle-glue:
@@ -127,7 +127,7 @@ jobs:
127127
_update triggered by ${{ github.ref }} ${{ github.sha }}_
128128
branch: update-sparkle-glue-${{ github.sha }}
129129
path: 3rdparty/sparkle-glue
130-
commit-message: (autocommit) Updated sparkle-glue submodule
130+
commit-message: (autocommit) Updated sparkle-glue submodule to latest in our fork
131131
author: "mudlet-machine-account <mudlet-machine-account@users.noreply.github.com>"
132132

133133
update-dblsqd:
@@ -167,7 +167,47 @@ jobs:
167167
_update triggered by ${{ github.ref }} ${{ github.sha }}_
168168
branch: update-dblsqd-${{ github.sha }}
169169
path: 3rdparty/dblsqd
170-
commit-message: (autocommit) Updated dblsqd submodule
170+
commit-message: (autocommit) Updated dblsqd submodule to latest upstream
171+
author: "mudlet-machine-account <mudlet-machine-account@users.noreply.github.com>"
172+
173+
update-qtkeychain:
174+
runs-on: ubuntu-latest
175+
steps:
176+
- uses: actions/checkout@master
177+
with:
178+
ref: development
179+
submodules: true
180+
fetch-depth: 0
181+
182+
- name: update submodule to latest
183+
run: git submodule update --remote 3rdparty/qtkeychain/
184+
185+
# strictly speaking this step isn't necessary since the PR action can filter as well, but it's easier
186+
# to see in github UI's if PR creation was skipped when we have an explicit pre-check
187+
- name: check if we have any updates
188+
id: getdiff
189+
run: |
190+
lines_changed=$(git diff --patch --unified=0 3rdparty/qtkeychain/ | wc --lines)
191+
echo "$lines_changed lines changed."
192+
echo ::set-output name=lines_changed::$lines_changed
193+
194+
- name: send in a pull request
195+
uses: gr2m/create-or-update-pull-request-action@v1.x
196+
if: steps.getdiff.outputs.lines_changed > 0
197+
env:
198+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
199+
with:
200+
title: "Update qtkeychain to latest"
201+
body: |
202+
#### Brief overview of PR changes/additions
203+
:crown: An automated PR to update qtkeychain to its latest version in our fork.
204+
#### Motivation for adding to Mudlet
205+
Get new features, bugfixes, improvements! Stay modern.
206+
#### Other info (issues closed, discussion etc)
207+
_update triggered by ${{ github.ref }} ${{ github.sha }}_
208+
branch: update-qtkeychain-${{ github.sha }}
209+
path: 3rdparty/qtkeychain
210+
commit-message: (autocommit) Updated qtkeychain submodule to latest in our fork
171211
author: "mudlet-machine-account <mudlet-machine-account@users.noreply.github.com>"
172212

173213
update-lcf:
@@ -210,5 +250,5 @@ jobs:
210250
_update triggered by ${{ github.ref }} ${{ github.sha }}_
211251
branch: update-dblsqd-${{ github.sha }}
212252
path: 3rdparty/lcf
213-
commit-message: (autocommit) Updated lcf submodule
253+
commit-message: (autocommit) Updated lcf submodule to latest upstream 5.1 branch
214254
author: "mudlet-machine-account <mudlet-machine-account@users.noreply.github.com>"

0 commit comments

Comments
 (0)