We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38b327b commit 2c3ced6Copy full SHA for 2c3ced6
CHANGELOG.md
@@ -2,6 +2,10 @@
2
3
## Unreleased
4
5
+### Fixes
6
+
7
+- Danger - recognize PR links based on full URL instead of just the PR number. ([#68](https://github.com/getsentry/github-workflows/pull/68))
8
9
### Dependencies
10
11
- Bump `danger/danger-js` from v11.1.2 to v11.3.1 ([#59](https://github.com/getsentry/github-workflows/pull/59))
danger/dangerfile.js
@@ -79,7 +79,7 @@ async function checkChangelog() {
79
changelogFile
80
);
81
82
- const changelogMatch = RegExp(`^(.*)\n[^\n]+#${danger.github.pr.number}\\b`, 's').exec(
+ const changelogMatch = RegExp(`^(.*?)\n[^\n]+(\\(${danger.github.pr.html_url}\\)|#${danger.github.pr.number}\\b)`, 's').exec(
83
changelogContents
84
85
0 commit comments