[PM-18193] Remove scan.yml from Merge Queue status check and update test.yml report job skip (#4710)

This commit is contained in:
Álison Fernandes 2025-02-10 23:31:01 +00:00 committed by GitHub
parent ac6c90eb7a
commit 6fdb39026f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -4,8 +4,6 @@ on:
workflow_dispatch:
pull_request_target:
types: [opened, synchronize]
merge_group:
types: [checks_requested]
jobs:
check-run:

View File

@ -90,17 +90,19 @@ jobs:
contents: read
issues: write
pull-requests: write
if: success() && (github.event_name == 'push' || github.event_name == 'pull_request')
if: success()
steps:
- name: Download test artifacts
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
if: github.event_name == 'push' || github.event_name == 'pull_request'
with:
name: test-reports
- name: Upload to codecov.io
id: upload-to-codecov
uses: codecov/codecov-action@1e68e06f1dbfde0e4cefc87efeba9e4643565303 # v5.1.2
if: github.event_name == 'push' || github.event_name == 'pull_request'
continue-on-error: true
with:
os: linux
@ -108,7 +110,7 @@ jobs:
fail_ci_if_error: true
- name: Comment PR if tests failed
if: steps.upload-to-codecov.outcome == 'failure'
if: steps.upload-to-codecov.outcome == 'failure' && (github.event_name == 'push' || github.event_name == 'pull_request')
env:
PR_NUMBER: ${{ github.event.number }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}