Skip to content

Commit 51599dc

Browse files
authored
Merge pull request #315 from microsoftgraph/chore/update-workflows
Chore/update workflows
2 parents 3bcee8d + 495d688 commit 51599dc

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Build and valiate SDK package
22

33
on:
44
workflow_dispatch:
5+
workflow_call:
56
push:
67
branches: [ main ]
78
pull_request:

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
types: [synchronize]
1212
branches: [main]
1313

14+
permissions:
15+
pull-requests: write
16+
contents: read
17+
1418
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1519
jobs:
1620
# This workflow contains a single job called "build"

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ name: Publish package to PyPI and create release
22

33
on:
44
push:
5-
branches: [main]
65
tags:
76
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
87

8+
permissions:
9+
contents: write
10+
911
jobs:
1012
build:
1113
uses: ./.github/workflows/build.yml

0 commit comments

Comments
 (0)