Skip to content

Commit b0652ac

Browse files
committed
chore(ci): Fix public-release workflow (#138)
2 parents a7a756a + b2efc7e commit b0652ac

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/publish-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ jobs:
9191
run:
9292
shell: bash
9393
steps:
94+
- uses: actions/checkout@v4
95+
with:
96+
ref: ${{ github.event.workflow_run.head_branch }}
9497
- name: Set up Ruby 3.3
9598
uses: ruby/setup-ruby@2a7b30092b0caf9c046252510f9273b4875f3db9 #v1.254.0
9699
with:
@@ -143,6 +146,7 @@ jobs:
143146
gempkgfile="$(echo pmdtester-*.gem)"
144147
145148
gh release create "$TAG_NAME" "${gempkgfile}" \
149+
--repo pmd/pmd-regression-tester \
146150
--verify-tag \
147151
--notes-file release_notes.md \
148152
--title "$RELEASE_NAME"

History.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66

77
## Fixed Issues
88
* [#124](https://github.com/pmd/pmd-regression-tester/issues/124): With `--auto-gen-config` invalid rule references might be generated
9-
* [#139](https://github.com/pmd/pmd-regression-tester/pull/139): chore: CI Improvements
9+
* [#138](https://github.com/pmd/pmd-regression-tester/pull/138): chore(ci): Fix public-release workflow
10+
* [#139](https://github.com/pmd/pmd-regression-tester/pull/139): chore(ci): CI Improvements
1011

11-
## Merge pull requests
12+
## Merged pull requests
1213
* [#141](https://github.com/pmd/pmd-regression-tester/pull/141): Fix #124: If an abstract rule is changed, run all rules - [UncleOwen](https://github.com/UncleOwen) (@UncleOwen)
1314

1415
## Dependency Updates

0 commit comments

Comments
 (0)