Skip to content

Commit

Permalink
WIP - Creating PR
Browse files Browse the repository at this point in the history
Signed-off-by: jamshale <[email protected]>
  • Loading branch information
jamshale committed Apr 23, 2024
1 parent 0f7d205 commit 6c7a109
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions .github/workflows/create-release-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,10 @@ jobs:
cd ../..
done
echo integration_test_plugins=${failed_plugins[*]} >> $GITHUB_OUTPUT
- name: Create Pull Request
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# ----------------------------------------------
# Prepare Pull Request
# ----------------------------------------------
- name: Prepare Pull Request
run: |
echo "Merging failed plugins"
failed_plugins=()
Expand Down Expand Up @@ -325,4 +326,21 @@ jobs:
done
title="Release for aries-cloudagent v$release_version"
gh pr create --title "$title" --body "$body $details" --base main --head "release-v$release_version"
# gh pr create --title "$title" --body "$body $details" --base main --head "release-v$release_version"
#----------------------------------------------
# Create Release PR
#----------------------------------------------
- name: Create PR
uses: peter-evans/create-pull-request@v6
with:
author: ${{ github.actor }} <${{ github.event.pusher.email }}>
committer: ${{ github.actor }} <${{ github.event.pusher.email }}
token: ${{ secrets.BOT_PR_PAT }}
commit-message: "Release v${{ steps.current_available_version.outputs.current_available_version }}"
title: "Release v${{ steps.current_available_version.outputs.current_available_version }}"
body: "Release v${{ steps.current_available_version.outputs.current_available_version }}"
branch: "release-v${{ steps.current_available_version.outputs.current_available_version }}"
base: "main"
draft: false
signoff: true
delete-branch: true

0 comments on commit 6c7a109

Please sign in to comment.