Skip to content

Commit 85f3c89

Browse files
authored
Task/update master to main (#5)
* Remove GitHub templates * Update deploy on published release and master to main
1 parent d83ef27 commit 85f3c89

File tree

4 files changed

+5
-15
lines changed

4 files changed

+5
-15
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 & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
name: Deploy SDK
22

33
on:
4-
push:
5-
branches:
6-
- 'master'
4+
release:
5+
types:
6+
- published
77

88
jobs:
99
deploy:
1010
name: Deploy to Rubygems
11+
if: ${{ !github.event.release.prerelease && github.event.release.target_commitish == 'main' }}
1112
runs-on: ubuntu-latest
1213
steps:
1314
- name: Checkout

.github/workflows/validate.yml

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)