-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branches 'development/7.70' and 'w/7.10/dependabot/npm_and_yarn…
…/development/7.4/xml2js-0.6.0' into tmp/octopus/w/7.70/dependabot/npm_and_yarn/development/7.4/xml2js-0.6.0
- Loading branch information
Showing
19 changed files
with
1,806 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
name: codeQL | ||
|
||
on: | ||
push: | ||
branches: [development/*, stabilization/*, hotfix/*] | ||
pull_request: | ||
branches: [development/*, stabilization/*, hotfix/*] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
analyze: | ||
name: Static analysis with CodeQL | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
with: | ||
languages: javascript, python, ruby | ||
|
||
- name: Build and analyze | ||
uses: github/codeql-action/analyze@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
name: dependency review | ||
|
||
on: | ||
pull_request: | ||
branches: [development/*, stabilization/*, hotfix/*] | ||
|
||
jobs: | ||
dependency-review: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 'Checkout Repository' | ||
uses: actions/checkout@v3 | ||
|
||
- name: 'Dependency Review' | ||
uses: actions/dependency-review-action@v3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** | ||
* _bucketRequiresOplogUpdate - DELETE an object from a bucket | ||
* @param {BucketInfo} bucket - bucket object | ||
* @return {boolean} whether objects require oplog updates on deletion, or not | ||
*/ | ||
function _bucketRequiresOplogUpdate(bucket) { | ||
// Default behavior is to require an oplog update | ||
if (!bucket || !bucket.getLifecycleConfiguration || !bucket.getNotificationConfiguration) { | ||
return true; | ||
} | ||
// If the bucket has lifecycle configuration or notification configuration | ||
// set, we also require an oplog update | ||
return bucket.getLifecycleConfiguration() || bucket.getNotificationConfiguration(); | ||
} | ||
|
||
module.exports = { | ||
_bucketRequiresOplogUpdate, | ||
}; |
Oops, something went wrong.