Skip to content

Commit 80fece8

Browse files
trigger again with updated regex
1 parent 4050f63 commit 80fece8

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/update-platform-branch.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ name: "Update Platform Branch"
99
on:
1010
schedule:
1111
- cron: "17 0 * * *" # Runs daily at 00:17 UTC
12+
pull_request:
13+
branches:
14+
- main
15+
- 'release/**'
1216
workflow_call:
1317
inputs:
1418
tag:
@@ -49,7 +53,7 @@ jobs:
4953
if [ -z "${{ github.event.inputs.tag }}" ]; then
5054
LATEST_TAG=$(git ls-remote --tags https://github.com/opentdf/platform.git | \
5155
grep "refs/tags/protocol/go" | \
52-
sed 's|.*/||' | \
56+
sed 's|refs/tags/||' | \
5357
sort -V | \
5458
tail -n1)
5559
echo "LATEST_TAG=$LATEST_TAG" >> "$GITHUB_ENV"

0 commit comments

Comments
 (0)