mirror of https://github.com/grafana/grafana.git
				
				
				
			CI: Use pull_request_target for PR patch check (#104567)
Use pull_request_target for PR patch check
This commit is contained in:
		
							parent
							
								
									af33ffd383
								
							
						
					
					
						commit
						13eaba98d5
					
				|  | @ -3,7 +3,7 @@ | ||||||
| name: Dispatch check for patch conflicts | name: Dispatch check for patch conflicts | ||||||
| run-name: dispatch-check-patch-conflicts-${{ github.base_ref }}-${{ github.head_ref }} | run-name: dispatch-check-patch-conflicts-${{ github.base_ref }}-${{ github.head_ref }} | ||||||
| on: | on: | ||||||
|   pull_request: |   pull_request_target: | ||||||
|     types: |     types: | ||||||
|       - opened |       - opened | ||||||
|       - reopened |       - reopened | ||||||
|  | @ -26,7 +26,6 @@ jobs: | ||||||
|           # App needs Actions: Read/Write for the grafana/security-patch-actions repo |           # App needs Actions: Read/Write for the grafana/security-patch-actions repo | ||||||
|           app_id: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_ID }} |           app_id: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_ID }} | ||||||
|           private_key: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_PEM }} |           private_key: ${{ secrets.GRAFANA_DELIVERY_BOT_APP_PEM }} | ||||||
| 
 |  | ||||||
|       - name: "Dispatch job" |       - name: "Dispatch job" | ||||||
|         uses: actions/github-script@v7 |         uses: actions/github-script@v7 | ||||||
|         with: |         with: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue