Skip to content

Commit

Permalink
Replacing pull request with pull request target
Browse files Browse the repository at this point in the history
  • Loading branch information
Rd4dev committed Aug 14, 2024
1 parent 15e1033 commit 1cad5c6
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/code_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ name: Code Coverage
# Controls when the action will run. Triggers the workflow on pull request
# events or push events in the develop branch.
on:
pull_request:
pull_request_target
#on:
# pull_request:
push:
branches:
# Push events on develop branch
Expand All @@ -16,19 +18,19 @@ concurrency:
cancel-in-progress: true

jobs:
check_unit_tests_completed:
name: Check unit test completed
runs-on: ubuntu-latest
steps:
- name: Wait for unit tests to checks
uses: ArcticLampyrid/[email protected]
with:
workflow: unit_tests.yml
sha: auto
# check_unit_tests_completed:
# name: Check unit test completed
# runs-on: ubuntu-latest
# steps:
# - name: Wait for unit tests to checks
# uses: ArcticLampyrid/[email protected]
# with:
# workflow: unit_tests.yml
# sha: auto

compute_changed_files:
name: Compute changed files
needs: check_unit_tests_completed
# needs: check_unit_tests_completed
runs-on: ubuntu-20.04
outputs:
matrix: ${{ steps.compute-file-matrix.outputs.matrix }}
Expand Down

0 comments on commit 1cad5c6

Please sign in to comment.