Skip to content

Commit

Permalink
Merge pull request #315 from microsoftgraph/chore/update-workflows
Browse files Browse the repository at this point in the history
Chore/update workflows
  • Loading branch information
samwelkanda authored Jan 24, 2024
2 parents 3bcee8d + 495d688 commit 51599dc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Build and valiate SDK package

on:
workflow_dispatch:
workflow_call:
push:
branches: [ main ]
pull_request:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/conflicting-pr-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
types: [synchronize]
branches: [main]

permissions:
pull-requests: write
contents: read

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ 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

permissions:
contents: write

jobs:
build:
uses: ./.github/workflows/build.yml
Expand Down

0 comments on commit 51599dc

Please sign in to comment.