Skip to content

Commit

Permalink
Adjusting scheduled workflow to mark the PR's it creates for auto-mer…
Browse files Browse the repository at this point in the history
…ge with --squash
  • Loading branch information
alexcottner committed Nov 14, 2024
1 parent 0ac2d0d commit 749e2fc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/scheduled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,10 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH_NAME: updates/kinto-admin-${{ steps.latest_release_version.outputs.version }}
run: |
gh pr create \
PR_REF=$(gh pr create \
--title "Update Kinto Admin version to ${{ steps.latest_release_version.outputs.version }}" \
--body "Updating kinto-admin to latest release" \
--base "main" \
--head "$BRANCH_NAME" \
--label "dependencies"
--label "dependencies")
gh pr merge --auto --squash $PR_REF

0 comments on commit 749e2fc

Please sign in to comment.