From 873b76a7d4606fb991b586aa41e568816d69cc94 Mon Sep 17 00:00:00 2001 From: Sean Budd Date: Tue, 16 Jun 2026 16:21:39 +1000 Subject: [PATCH] Avoid using issue title to improve PR title consistency --- .github/workflows/checkAndSubmitAddonMetadata.yml | 5 +---- .github/workflows/getData.js | 3 --- .github/workflows/sendJsonFile.yml | 1 - 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/checkAndSubmitAddonMetadata.yml b/.github/workflows/checkAndSubmitAddonMetadata.yml index 3978200e0ad..23b52276667 100644 --- a/.github/workflows/checkAndSubmitAddonMetadata.yml +++ b/.github/workflows/checkAndSubmitAddonMetadata.yml @@ -12,9 +12,6 @@ on: issueAuthorName: required: true type: string - issueTitle: - required: true - type: string secrets: VT_API_KEY: required: true @@ -149,7 +146,7 @@ jobs: 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 }}" $prNumber = ($prUrl.TrimEnd('/') -split '/')[-1] "pullRequestNumber=$prNumber" >> $env:GITHUB_OUTPUT - name: Create validation errors file diff --git a/.github/workflows/getData.js b/.github/workflows/getData.js index 0b1fa9129ff..920a98e582b 100644 --- a/.github/workflows/getData.js +++ b/.github/workflows/getData.js @@ -1,9 +1,6 @@ module.exports = ({context, core}) => { // Allow identifying the issue later. // setOutput exposes the variable for access at later stages via steps.get-data.outputs - // - const issueTitle = context.payload.issue.title - core.setOutput('issueTitle', issueTitle) const issueNumber = context.payload.issue.number core.setOutput('issueNumber', issueNumber) // Knowing the submitter may be helpful diff --git a/.github/workflows/sendJsonFile.yml b/.github/workflows/sendJsonFile.yml index 5577ce9c2f7..64b3a36d390 100644 --- a/.github/workflows/sendJsonFile.yml +++ b/.github/workflows/sendJsonFile.yml @@ -116,7 +116,6 @@ jobs: issueNumber: "${{ github.event.issue.number }}" issueAuthorId: ${{ github.event.issue.user.id }} issueAuthorName: ${{ github.event.issue.user.login }} - issueTitle: ${{ github.event.issue.title }} secrets: VT_API_KEY: ${{ secrets.VT_API_KEY }} VIEWS_PUSH_TOKEN: ${{ secrets.VIEWS_PUSH_TOKEN }}