Skip to content

Commit 7a70892

Browse files
Merge branch 'main' into updaate-install-env-and-stubs
2 parents f5fd2c8 + 9df46a5 commit 7a70892

File tree

3 files changed

+10
-13
lines changed

3 files changed

+10
-13
lines changed

.github/workflows/auto-release.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,6 @@ jobs:
4141
RELEASE_BRANCHES: main
4242
BRANCH_HISTORY: all
4343

44-
- name: Get previous tag
45-
id: previous_tag
46-
run: |
47-
# Get the second most recent tag (prior to the new tag)
48-
previous_tag=$(git tag --sort=-creatordate | grep '^v' | sed -n 2p)
49-
echo "tag=$previous_tag" >> "$GITHUB_OUTPUT"
50-
5144
- name: Generate Release Notes
5245
id: generate_release_notes
5346
shell: bash
@@ -64,20 +57,20 @@ jobs:
6457
-d @- <<EOF
6558
{
6659
"tag_name": "$NEW_TAG",
67-
"target_commitish": "main",
68-
"previous_tag_name": "${{ steps.previous_tag.outputs.tag }}"
60+
"target_commitish": "dev"
6961
}
7062
EOF
7163
)
64+
# Check if the response contains an error
7265
if echo "$response" | grep -q '"message":'; then
7366
echo "Error generating release notes:"
7467
echo "$response"
7568
exit 1
7669
fi
7770
body=$(echo "$response" | jq -r '.body')
78-
echo "body<<EOF" >> "$GITHUB_OUTPUT"
79-
echo "$body" >> "$GITHUB_OUTPUT"
80-
echo "EOF" >> "$GITHUB_OUTPUT"
71+
echo "body<<EOF" >> $GITHUB_OUTPUT
72+
echo "$body" >> $GITHUB_OUTPUT
73+
echo "EOF" >> $GITHUB_OUTPUT
8174
8275
- name: Update Changelog
8376
uses: stefanzweifel/changelog-updater-action@v1

.github/workflows/dependabot-auto-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

3030
- name: Dependabot metadata
3131
id: metadata
32-
uses: dependabot/fetch-metadata@v2.3.0
32+
uses: dependabot/fetch-metadata@v2.4.0
3333
with:
3434
github-token: ${{ secrets.GITHUB_TOKEN }}
3535

.github/workflows/open-ai-pr-description.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,7 @@ jobs:
2020
with:
2121
github_token: ${{ secrets.GITHUB_TOKEN }}
2222
openai_api_key: ${{ secrets.OPEN_AI_PR_DESCRIPTION_API_KEY }}
23+
overwrite_description: true
24+
temperature: 0.2
25+
completion_prompt: |
26+
Summarize the changes of this PR in no more than 3 sentences. In a structured way, list the changes of this PR.

0 commit comments

Comments
 (0)