Skip to content

Commit

Permalink
Added write permission (#1798)
Browse files Browse the repository at this point in the history
  • Loading branch information
niemyjski authored Jan 7, 2025
1 parent bb51999 commit 032df95
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
tags: ['v*']
pull_request:

permissions:
pull-requests: write

env:
TERM: xterm
DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION: true
Expand All @@ -15,16 +18,13 @@ env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}

jobs:

version:

runs-on: ubuntu-latest
timeout-minutes: 30
outputs:
version: ${{ steps.version.outputs.version }}

steps:

- name: Checkout
uses: actions/checkout@v4
with:
Expand All @@ -50,12 +50,10 @@ jobs:
echo "### $version" >> $GITHUB_STEP_SUMMARY
test-api:

runs-on: ubuntu-latest
timeout-minutes: 30

steps:

- name: Checkout
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -113,15 +111,13 @@ jobs:
run: cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY

test-client:

runs-on: ubuntu-latest
timeout-minutes: 30
defaults:
run:
working-directory: src/Exceptionless.Web/ClientApp

steps:

- name: Checkout
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -159,15 +155,13 @@ jobs:
run: echo "npm run test:integration"

build-and-push-docker:

runs-on: ubuntu-latest
needs: [version]
timeout-minutes: 30
env:
VERSION: ${{needs.version.outputs.version}}

steps:

- name: Checkout
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -266,7 +260,6 @@ jobs:
VERSION: ${{needs.version.outputs.version}}

steps:

- name: Checkout
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 032df95

Please sign in to comment.