diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index a160595cef1..a8da3095e9e 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -73,7 +73,7 @@ jobs: git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local --add --bool push.autoSetupRemote true - name: "Create branch" - run: git checkout -b "release/${{ github.run_id }}/${{ inputs.version }}" + run: git checkout -b "changelog/${{ github.run_id }}/${{ inputs.version }}" - name: "Generate changelog" id: changelog uses: ./.github/workflows/actions/changelog @@ -117,11 +117,11 @@ jobs: if: ${{ inputs.dry_run }} != true run: git push - name: "Create changelog PR" - if: "${{ inputs.backport == '' }}" run: > gh pr create \ - $( [ "x${{ inputs.latest }}" == "xtrue" ] && printf %s '-l "release/latest"') \ --dry-run=${{ inputs.dry_run }} \ + --label "no-backport" \ + --label "no-changelog" \ -B "${{ inputs.target }}" \ --title "Release: ${{ inputs.version }}" \ --body "Changelog changes for release ${{ inputs.version }}" diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index 13e696b55df..284eb083de4 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -126,7 +126,7 @@ jobs: - name: Git push if: ${{ inputs.dry_run }} != true - run: git push + run: git push --set-upstream origin release/${{ github.run_id }}/${{ inputs.version }} - name: Create PR without backports if: "${{ inputs.backport == '' }}" @@ -145,7 +145,6 @@ jobs: run: > gh pr create \ $( [ "x${{ inputs.latest }}" == "xtrue" ] && printf %s '-l "release/latest"') \ - -l "backport ${{ inputs.backport }}" \ -l "product-approved" \ --dry-run=${{ inputs.dry_run }} \ -B "${{ inputs.target }}" \