Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/v10/dev' into v10/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolajlauridsen committed Jun 21, 2023
2 parents b451bb8 + 785390e commit d19a307
Show file tree
Hide file tree
Showing 4 changed files with 1,027 additions and 1,018 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/pr-first-response.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,10 @@ jobs:
issues: write
pull-requests: write
steps:
- name: Install dependencies
run: |
npm install node-fetch@2
- name: Fetch random comment 🗣️ and add it to the PR
uses: actions/github-script@v6
with:
script: |
const fetch = require('node-fetch')
const response = await fetch('https://collaboratorsv2.euwest01.umbraco.io/umbraco/api/comments/PostComment', {
method: 'post',
body: JSON.stringify({
Expand All @@ -46,13 +41,13 @@ jobs:
});
} else {
console.log("Returned data not indicate success.");
if(response.status !== 200) {
console.log("Status code:", response.status)
}
console.log("Returned data:", data);
if(data === '') {
console.log("An empty response usually indicates that either no comment was found or the actor user was not eligible for getting an automated response (HQ users are not getting auto-responses).")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ public MultiUrlPickerPropertyEditor(
SupportsReadOnly = true;
}

public override IPropertyIndexValueFactory PropertyIndexValueFactory { get; } = new NoopPropertyIndexValueFactory();

protected override IConfigurationEditor CreateConfigurationEditor() =>
new MultiUrlPickerConfigurationEditor(_ioHelper, _editorConfigurationParser);

Expand Down
Loading

0 comments on commit d19a307

Please sign in to comment.