Skip to content

Commit e2928ab

Browse files
authored
Merge pull request #563 from microsoftgraph/chore/update-workflows
Chore/update workflows
2 parents 3e4313f + 055e295 commit e2928ab

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.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)