Skip to content

Commit 032df95

Browse files
authored
Added write permission (#1798)
1 parent bb51999 commit 032df95

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
tags: ['v*']
77
pull_request:
88

9+
permissions:
10+
pull-requests: write
11+
912
env:
1013
TERM: xterm
1114
DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION: true
@@ -15,16 +18,13 @@ env:
1518
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
1619

1720
jobs:
18-
1921
version:
20-
2122
runs-on: ubuntu-latest
2223
timeout-minutes: 30
2324
outputs:
2425
version: ${{ steps.version.outputs.version }}
2526

2627
steps:
27-
2828
- name: Checkout
2929
uses: actions/checkout@v4
3030
with:
@@ -50,12 +50,10 @@ jobs:
5050
echo "### $version" >> $GITHUB_STEP_SUMMARY
5151
5252
test-api:
53-
5453
runs-on: ubuntu-latest
5554
timeout-minutes: 30
5655

5756
steps:
58-
5957
- name: Checkout
6058
uses: actions/checkout@v4
6159
with:
@@ -113,15 +111,13 @@ jobs:
113111
run: cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY
114112

115113
test-client:
116-
117114
runs-on: ubuntu-latest
118115
timeout-minutes: 30
119116
defaults:
120117
run:
121118
working-directory: src/Exceptionless.Web/ClientApp
122119

123120
steps:
124-
125121
- name: Checkout
126122
uses: actions/checkout@v4
127123
with:
@@ -159,15 +155,13 @@ jobs:
159155
run: echo "npm run test:integration"
160156

161157
build-and-push-docker:
162-
163158
runs-on: ubuntu-latest
164159
needs: [version]
165160
timeout-minutes: 30
166161
env:
167162
VERSION: ${{needs.version.outputs.version}}
168163

169164
steps:
170-
171165
- name: Checkout
172166
uses: actions/checkout@v4
173167
with:
@@ -266,7 +260,6 @@ jobs:
266260
VERSION: ${{needs.version.outputs.version}}
267261

268262
steps:
269-
270263
- name: Checkout
271264
uses: actions/checkout@v4
272265
with:

0 commit comments

Comments
 (0)