Skip to content

Commit

Permalink
Merge pull request #456 from microsoftgraph/chore/publish-on-tag
Browse files Browse the repository at this point in the history
Chore/publish on tag
  • Loading branch information
samwelkanda authored Jan 18, 2024
2 parents c99d2fe + a2802ba commit 1486407
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ name: Build and test

on:
push:
branches: [main]
pull_request:
branches: [main, dev]
workflow_call:

jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ name: "CodeQL"

on:
push:
branches: [master, dev]
branches: [main, dev]
pull_request:
# The branches below must be a subset of the branches above
branches: [master, dev]
branches: [main, dev]
schedule:
- cron: "32 11 * * 6"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/conflicting-pr-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ name: PullRequestConflicting
# events but only for the master branch
on:
push:
branches: [master, dev]
branches: [main, dev]
pull_request:
types: [synchronize]
branches: [master, dev]
branches: [main, dev]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Publish package to PyPI and create release
on:
push:
branches: [main]
tags:
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10

jobs:
build:
Expand Down

0 comments on commit 1486407

Please sign in to comment.