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
18 changes: 10 additions & 8 deletions .github/workflows/create_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ on:
required: true
type: string
PR_message:
description: "PR Message"
required: false
default: Automated PR generated using GHA
type: string
description: "PR Message"
required: false
default: "Automated PR generated using GHA"
type: string

jobs:
create_pull_request:
name: Create Pull Request
Expand All @@ -25,8 +25,10 @@ jobs:
- name: Create Pull Request
run: |
gh pr create \
--title "Automated tide pull request for release {{ release }}" \
--title "Automated PR for release - ${{ inputs.branch_name }}" \
--body "${{ inputs.PR_message }}" \
--base develop \
--head ${{ inputs.branch_name }} \
--repo ${{ github.repository }}
--head "${{ inputs.branch_name }}" \
--repo "${{ github.repository }}"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@klaukl Is it a new secret? I can't see it in the current settings.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope it was already there and used by other GHA like in tide_build and set status etc