diff --git a/.github/workflows/pr-description.yml b/.github/workflows/pr-description.yml index 0106065..ec52e85 100644 --- a/.github/workflows/pr-description.yml +++ b/.github/workflows/pr-description.yml @@ -13,7 +13,9 @@ jobs: uses: actions/checkout@v4 - name: Install GitHub CLI - uses: cli/cli-action@v2 + run: | + sudo apt-get update + sudo apt-get install gh -y - name: Fetch PR Commits id: fetch_commits @@ -35,7 +37,7 @@ jobs: "model": "gpt-4o", "messages": [{ "role": "user", - "content": "Given the following commit messages:\n\n'"${commits}"'\n\nFill the following pull request template. Only fill the \"## Description\" section:\n\n\n\n## Jira Ticket\n\n[SP-0000](https://syncrow.atlassian.net/browse/SP-0000)\n\n## Description\n\n\n\n## How to Test\n\n" + "content": "Given the following commit messages:\n\n'"${commits}"'\n\nFill only the \"## Description\" section in this pull request template:\n\n\n\n## Jira Ticket\n\n[SP-0000](https://syncrow.atlassian.net/browse/SP-0000)\n\n## Description\n\n\n\n## How to Test\n\n" }] }')