diff --git a/.github/workflows/update-deps.yml b/.github/workflows/update-deps.yml
new file mode 100644
index 000000000..338ee6ff6
--- /dev/null
+++ b/.github/workflows/update-deps.yml
@@ -0,0 +1,32 @@
+name: 'Update dependencies'
+on:
+ push:
+ branches:
+ - 'scala-kore-bump'
+ workflow_dispatch:
+# Stop in progress workflows on the same branch and same workflow to use latest committed code
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
+jobs:
+ update-versions:
+ name: 'Update K version'
+ runs-on: ubuntu-latest
+ steps:
+ - name: 'Check out code'
+ uses: actions/checkout@v3
+ with:
+ submodules: recursive
+ token: ${{ secrets.JENKINS_GITHUB_PAT }}
+
+ - name: 'Configure GitHub user'
+ run: |
+ git config user.name devops
+ git config user.email devops@runtimeverification.com
+
+ - name: 'Update scala-kore release tag'
+ run: |
+ SCALA_KORE_VERSION="$(cat matching/deps/scala_kore_release)"
+ sed -i "s!^ .*$! ${SCALA_KORE_VERSION}!" matching/pom.xml
+ git add matching/pom.xml && git commit -m "matching: update scala-kore to ${SCALA_KORE_VERSION}" || true
diff --git a/matching/deps/scala_kore_release b/matching/deps/scala_kore_release
new file mode 100644
index 000000000..0d91a54c7
--- /dev/null
+++ b/matching/deps/scala_kore_release
@@ -0,0 +1 @@
+0.3.0
diff --git a/matching/pom.xml b/matching/pom.xml
index edd12a49d..342fe8694 100644
--- a/matching/pom.xml
+++ b/matching/pom.xml
@@ -14,6 +14,10 @@
K Framework LLVM Backend Pattern Matching
+
+ 0.3.0
+
+
runtime.verification
@@ -35,7 +39,7 @@
com.runtimeverification.k
scala-kore
- 0.3.0
+ ${scala-kore.version}
org.yaml