Skip to content

Commit

Permalink
fix(ci): add permissions for test_reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
cusco committed Oct 23, 2024
1 parent d056e0e commit b054103
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/test_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ name: CI
on:
push:
branches: [ master, main ]
pull_request_target:
pull_request:
branches: [ master, main, staging ]


concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true


jobs:
Validate_and_Test:
runs-on: ubuntu-latest
Expand All @@ -22,6 +28,12 @@ jobs:
# ports: [ '5432:5432' ]
# options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5

permissions:
statuses: write
checks: write
contents: write
pull-requests: write

steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -71,6 +83,7 @@ jobs:
- name: Test Reporter
uses: dorny/test-reporter@v1

if:
success() || failure() # run this step even if previous step failed
with:
Expand Down

0 comments on commit b054103

Please sign in to comment.