Skip to content

Commit e7eb100

Browse files
authored
Task/default branch master to main (#3)
* Change master to main and deploy on release * Remove templates as we'll be accepting PRs and issues
1 parent e6c1043 commit e7eb100

File tree

4 files changed

+5
-16
lines changed

4 files changed

+5
-16
lines changed

.github/ISSUE_TEMPLATE/custom.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/pull_request_template.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: Deploy SDK
22

33
on:
4-
push:
5-
branches:
6-
- 'master'
7-
4+
release:
5+
types:
6+
- published
87
jobs:
98
deploy:
109
name: Deploy to PYPI
10+
if: ${{ !github.event.release.prerelease && github.event.release.target_commitish == 'main' }}
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout

.github/workflows/validate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Validate SDK
33
on:
44
pull_request:
55
branches:
6-
- 'master'
6+
- 'main'
77

88
jobs:
99
deploy:

0 commit comments

Comments
 (0)