Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/tag-tickets-with-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,19 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: get next predicted version
id: get_next_version
uses: VirdocsSoftware/github-actions/.github/actions/predict-next-version@main
- name: create prompt
id: create_prompt
run: |
if [ "${{ inputs.is-release }}" = "true" ]; then
TARGET_BRANCH="${{ inputs.target-branch }}"
elif git ls-remote --heads origin release/v$(cat next_version.txt) | grep -sw "refs/heads/release/v$(cat next_version.txt)"; then
TARGET_BRANCH="origin/release/v$(cat next_version.txt)"
else
TARGET_BRANCH="origin/main"
fi
COMMON_BRANCH=$(git merge-base HEAD ${TARGET_BRANCH})
DIFF="$(git log --pretty=format:'%s' ${COMMON_BRANCH}..HEAD)"
LLM_PROMPT_PREFIX="Create a fun release description in 100 characters or less in one line without identifiers for the following data:
Expand Down
Loading