Sfoglia il codice sorgente

ci: bench: fix Resource not accessible by integration on PR event (#6393)

Pierrick Hymbert 1 anno fa
parent
commit
37e7854c10
1 ha cambiato i file con 1 aggiunte e 2 eliminazioni
  1. 1 2
      .github/workflows/bench.yml

+ 1 - 2
.github/workflows/bench.yml

@@ -25,7 +25,7 @@ on:
     branches:
     branches:
       - master
       - master
     paths: ['.github/workflows/bench.yml', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu', '**/*.swift', '**/*.m', 'examples/server/bench/**.*']
     paths: ['.github/workflows/bench.yml', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu', '**/*.swift', '**/*.m', 'examples/server/bench/**.*']
-  pull_request:
+  pull_request_target:
     types: [opened, synchronize, reopened]
     types: [opened, synchronize, reopened]
     paths: ['.github/workflows/bench.yml', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu', '**/*.swift', '**/*.m', 'examples/server/bench/**.*']
     paths: ['.github/workflows/bench.yml', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu', '**/*.swift', '**/*.m', 'examples/server/bench/**.*']
   schedule:
   schedule:
@@ -143,7 +143,6 @@ jobs:
 
 
       - name: Commit status
       - name: Commit status
         uses: Sibz/github-status-action@v1
         uses: Sibz/github-status-action@v1
-        continue-on-error: true # If not authorized on external repo
         with:
         with:
           authToken: ${{secrets.GITHUB_TOKEN}}
           authToken: ${{secrets.GITHUB_TOKEN}}
           sha: ${{ inputs.sha || github.event.pull_request.head.sha || github.sha }}
           sha: ${{ inputs.sha || github.event.pull_request.head.sha || github.sha }}