Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Commit 9ce6d0b

Browse files
authored
Merge pull request #26 from Cargill/add-settings-file
Add settings file
2 parents 85c4196 + 4cf42f7 commit 9ce6d0b

File tree

2 files changed

+29
-2
lines changed

2 files changed

+29
-2
lines changed

.github/settings.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Copyright 2021 Cargill Incorporated
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
repository:
16+
# See https://developer.github.com/v3/repos/#edit for all available settings.
17+
name: sawtooth-sdk-python
18+
homepage: https://wiki.hyperledger.org/display/sawtooth
19+
private: false
20+
has_issues: true
21+
has_projects: false
22+
has_wiki: false
23+
has_downloads: false
24+
default_branch: main
25+
allow_squash_merge: false
26+
allow_merge_commit: true
27+
allow_rebase_merge: true

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pipeline {
2424
}
2525

2626
triggers {
27-
cron(env.BRANCH_NAME == 'master' ? 'H 3 * * *' : '')
27+
cron(env.BRANCH_NAME == 'main' ? 'H 3 * * *' : '')
2828
}
2929

3030
options {
@@ -45,7 +45,7 @@ pipeline {
4545
}
4646
when {
4747
not {
48-
branch 'master'
48+
branch 'main'
4949
}
5050
}
5151
}

0 commit comments

Comments
 (0)