Skip to content

Commit daf451c

Browse files
Revert "test yml"
This reverts commit 6597a63.
1 parent 7c0bbc4 commit daf451c

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

.github/workflows/danger-workflow-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ jobs:
3333
$env:DANGER_OUTCOME | Should -Be "success"
3434
3535
Write-Host "✅ Danger PR analysis completed successfully!"
36-
Write-Host "ℹ️ Check the PR comments for any Danger findings"
36+
Write-Host "ℹ️ Check the PR comments for any Danger findings"

danger/dangerfile.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,26 +74,19 @@ async function checkChangelog() {
7474
const changelogContents = await danger.github.utils.fileContents(
7575
changelogFile
7676
);
77-
//
78-
console.log(`::debug:: Changelog checked content: ${changelogContents}`);
7977

8078
const changelogMatch = RegExp(`^(.*?)\n[^\n]+(\\(${danger.github.pr.html_url}\\)|#${danger.github.pr.number}\\b)`, 's').exec(
8179
changelogContents
8280
);
8381

8482
// check if a changelog entry exists
8583
if (!changelogMatch) {
86-
console.log(`::debug:: Has a changelog entry: ${changelogMatch}`);
8784
return reportMissingChangelog(changelogFile);
8885
}
8986

9087
// Check if the entry is added to an Unreleased section (or rather, check that it's not added to a released one)
9188
const textBeforeEntry = changelogMatch[1]
92-
console.log(`::debug:: text before entry: ${textBeforeEntry}`);
93-
9489
const section = RegExp('^(## +v?[0-9.]+)([\-\n _]|$)', 'm').exec(textBeforeEntry)
95-
console.log(`::debug:: Section: ${section}`);
96-
9790
if (section) {
9891
const lineNr = 1 + textBeforeEntry.split(/\r\n|\r|\n/).length
9992
fail(

0 commit comments

Comments
 (0)