Skip to content

Commit 1486407

Browse files
authored
Merge pull request #456 from microsoftgraph/chore/publish-on-tag
Chore/publish on tag
2 parents c99d2fe + a2802ba commit 1486407

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ name: Build and test
55

66
on:
77
push:
8+
branches: [main]
89
pull_request:
10+
branches: [main, dev]
911
workflow_call:
1012

1113
jobs:

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: [master, dev]
16+
branches: [main, dev]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: [master, dev]
19+
branches: [main, dev]
2020
schedule:
2121
- cron: "32 11 * * 6"
2222

.github/workflows/conflicting-pr-label.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ name: PullRequestConflicting
66
# events but only for the master branch
77
on:
88
push:
9-
branches: [master, dev]
9+
branches: [main, dev]
1010
pull_request:
1111
types: [synchronize]
12-
branches: [master, dev]
12+
branches: [main, dev]
1313

1414
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1515
jobs:

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: Publish package to PyPI and create release
33
on:
44
push:
55
branches: [main]
6+
tags:
7+
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
68

79
jobs:
810
build:

0 commit comments

Comments
 (0)