Skip to content

Commit bba2963

Browse files
authored
Merge pull request #2001 from segmentio/develop
Release 21.40.1
2 parents f30528a + 903480a commit bba2963

File tree

24 files changed

+243
-1010
lines changed

24 files changed

+243
-1010
lines changed

.github/workflows/unallowed-contributions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on:
2222

2323
jobs:
2424
triage:
25-
if: github.repository == 'segmentio/segment-docs' && github.event.pull_request.user.login != 'markzegarelli'
25+
if: github.repository == 'segmentio/segment-docs' && (github.event.pull_request.user.login != 'markzegarelli' || github.event.pull_request.user.login != 'stayseesong' || github.event.pull_request.user.login != 'pwseg')
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Get files changed

scripts/catalog_papi.js

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -401,25 +401,6 @@ const updateDestinations = async () => {
401401
return 0;
402402
})
403403

404-
405-
// Here we are dealing with settings that should not be exposed
406-
settings.forEach(setting => {
407-
if (setting.name == 'directChannels' || setting.name == 'endpoint' || setting.name == 'batchApiLocation') {
408-
delete setting.name
409-
delete setting.type
410-
delete setting.defaultValue
411-
delete setting.description
412-
delete setting.required
413-
delete setting.label
414-
delete setting
415-
416-
}
417-
});
418-
419-
settings = settings.filter(value => JSON.stringify(value) !== '{}')
420-
421-
// end settings removal block
422-
423404
const clone = (obj) => Object.assign({}, obj)
424405
const renameKey = (object, key, newKey) => {
425406
const clonedObj = clone(object);

scripts/changelog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const updateLog = async(library) => {
4444
var todayDate = new Date().toISOString().slice(0,10);
4545
output = "# AUTOGENERATED FROM GITHUB API. DO NOT EDIT\n"
4646
output += "# Releases last updated " + todayDate + " \n";
47-
output += yaml.safeDump({ releases: releasesUpdated }, options);
47+
output += yaml.dump({ releases: releasesUpdated }, options);
4848
fs.writeFileSync(path.resolve(__dirname, `../src/_data/changelogs/${library}.yml`), output);
4949
}
5050

src/_data/catalog/destination_categories.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# destination categories last updated 2021-10-08
2+
# destination categories last updated 2021-10-11
33
items:
44
- display_name: A/B Testing
55
slug: a-b-testing

0 commit comments

Comments
 (0)