Skip to content

Avoid using issue title to improve PR title consistency#9863

Open
seanbudd wants to merge 1 commit into
masterfrom
removeIssueTitle
Open

Avoid using issue title to improve PR title consistency#9863
seanbudd wants to merge 1 commit into
masterfrom
removeIssueTitle

Conversation

@seanbudd

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the GitHub Actions-based submission pipeline to stop using the originating issue title when creating the auto-generated pull request, aiming to make PR titles more consistent and less dependent on user-provided issue metadata.

Changes:

  • Removed propagation of issueTitle through workflow outputs/inputs.
  • Updated PR creation to use a deterministic title format (Publish …) instead of the issue title.
  • Adjusted the workflow-call interface accordingly (removed the issueTitle input).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/sendJsonFile.yml Stops passing the issue title into the called workflow.
.github/workflows/getData.js Removes setting an issueTitle output from the issue payload.
.github/workflows/checkAndSubmitAddonMetadata.yml Removes issueTitle input and changes gh pr create title generation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 145 to +149
env:
GH_TOKEN: ${{ github.token }}
shell: pwsh
run: |
$prUrl = gh pr create --base master --head "${{ env.branchName }}" --title "${{ inputs.issueTitle }}" --body "Closes #${{ inputs.issueNumber }}"
$prUrl = gh pr create --base master --head "${{ env.branchName }}" --title "Publish ${{ needs.getAddonId.outputs.addonFileName }}" --body "Closes #${{ inputs.issueNumber }}"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

the add-on file name should be relatively normalised, being it is extracted from an actual file name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants