Merge branch 'maintenance' into devel
# Conflicts: # src/octoprint/logging/__init__.py
This commit is contained in:
commit
2a6f7478c3
34 files changed
+487
-432
No files matched your search
@@ -3,7 +3,7 @@ on:
|
||||
push:
|
||||
pull_request:
|
||||
release:
|
||||
types: [published, prereleased]
|
||||
types: [released, prereleased]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -63,7 +63,7 @@ jobs:
|
||||
})
|
||||
}
|
||||
|
||||
- uses: OctoPrint/actions/issue-validation@main
|
||||
if: github.event_name == 'issues' && (github.event.action == 'opened' || github.event.action == 'edited')
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
#- uses: OctoPrint/actions/issue-validation@main
|
||||
# if: github.event_name == 'issues' && (github.event.action == 'opened' || github.event.action == 'edited')
|
||||
# with:
|
||||
# repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
}
|
||||
};
|
||||
|
||||
if (bundles) {
|
||||
if (bundles.length > 0) {
|
||||
let text = comment + botMarker + "\n\n---\n\n\nBundles:\n\n";
|
||||
bundles.forEach((bundle) => {
|
||||
text += " * [" + bundle.filename + "](https://bundleviewer.octoprint.org/?url=" + encodeURIComponent(bundle.link) + ")\n"
|
||||
@@ -44,4 +44,11 @@ jobs:
|
||||
comment_id: context.payload.comment.id,
|
||||
body: text
|
||||
});
|
||||
} else if (botWasHere !== -1) {
|
||||
github.issues.updateComment({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
comment_id: context.payload.comment.id,
|
||||
body: comment
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user