Skip to content

Commit

Permalink
Add no-jira-ticket to release PRs.
Browse files Browse the repository at this point in the history
  • Loading branch information
nirinchev committed Jul 22, 2024
1 parent ca68cbb commit f912472
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/pkl-workflows/publish-release.pkl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs {
...uploadToNuGet()
...Steps.uploadToNPM("latest")
...mergeReleasePR()
publishGithubReleasee()
publishGithubRelease()
...updateChangelogForvNext()
postReleaseToSlack()
}
Expand Down Expand Up @@ -77,7 +77,7 @@ local function mergePR(numberExpression: String): Step = new {
}
}

local function publishGithubReleasee(): Step = new {
local function publishGithubRelease(): Step = new {
name = "Publish Github Release"
uses = Actions.publishGithubRelease
with {
Expand Down Expand Up @@ -125,6 +125,7 @@ local function updateChangelogForvNext(): Listing<Step> = new {
["delete-branch"] = true
["base"] = Common.mainBranch
["commit-message"] = "Prepare for vNext"
["labels"] = "no-jira-ticket"
}
}
mergePR("${{ steps.\(create_pr_step).outputs.pull-request-number }}")
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ jobs:
body: An automated PR for next release.
commit-message: Prepare for ${{ steps.update-changelog.outputs.new-version }}
token: ${{ secrets.REALM_CI_PAT }}
labels: no-jira-ticket
1 change: 1 addition & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ jobs:
delete-branch: true
base: main
commit-message: Prepare for vNext
labels: no-jira-ticket
- name: Merge Pull Request
uses: juliangruber/merge-pull-request-action@9234b8714dda9a08f3d1df5b2a6a3abd7b695353
with:
Expand Down

0 comments on commit f912472

Please sign in to comment.