Skip to content

Commit

Permalink
Merge pull request hyperledger-archives#21 from rbuysse/add-settings-…
Browse files Browse the repository at this point in the history
…file

Add initial github settings.yml file
  • Loading branch information
rbuysse authored Apr 2, 2021
2 parents 2cc1236 + 863953d commit 4bbc971
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
27 changes: 27 additions & 0 deletions .github/settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright 2021 Cargill Incorporated
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

repository:
# See https://developer.github.com/v3/repos/#edit for all available settings.
name: sawtooth-sdk-javascript
homepage: https://wiki.hyperledger.org/display/sawtooth
private: false
has_issues: true
has_projects: false
has_wiki: false
has_downloads: false
default_branch: main
allow_squash_merge: false
allow_merge_commit: true
allow_rebase_merge: true
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pipeline {
}

triggers {
cron(env.BRANCH_NAME == 'master' ? 'H 3 * * *' : '')
cron(env.BRANCH_NAME == 'main' ? 'H 3 * * *' : '')
}

options {
Expand All @@ -45,7 +45,7 @@ pipeline {
}
when {
not {
branch 'master'
branch 'main'
}
}
}
Expand Down

0 comments on commit 4bbc971

Please sign in to comment.