Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
oliversun9 committed Nov 8, 2023
1 parent 941ede6 commit f4df59a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/actions/create-pr-action/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ inputs:
token:
description: The GitHub token.
required: true
assignees:
description: The assignees, separated by commas. For example, "userA, userB".
outputs:
url:
description: The URL of the pull request
Expand All @@ -35,7 +37,7 @@ runs:
shell: bash
- run: git push origin "${{ inputs.branch }}" --force
shell: bash
- run: echo "url=$(gh pr create --title "${{ inputs.title }}" --body "${{ inputs.body }}")" >> $GITHUB_OUTPUT
- run: echo "url=$(gh pr create --title "${{ inputs.title }}" --body "${{ inputs.body }}" ${{ assignees && format('--assignee "{0}"', assignees) || '' }})" >> $GITHUB_OUTPUT
id: create_pr
shell: bash
env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/create_release_pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,6 @@ jobs:
Reminder: Verify the changelog
token: ${{ steps.app-token.outputs.token }}
assignees: oliversun9, oliversun09
- run: echo "pr created at ${{ steps.create_pr.outputs.url }}"
# placeholder for slack notification

0 comments on commit f4df59a

Please sign in to comment.