Skip to content

Skip email checks for non-PR events - #16

Merged
Nasser Grainawi (quic-nasserg) merged 1 commit into
qualcomm:mainfrom
quic-nasserg:skip-non-PR-events
Oct 5, 2026
Merged

Nasser Grainawi (quic-nasserg) merged 1 commit into
qualcomm:mainfrom
quic-nasserg:skip-non-PR-events

Conversation

@quic-nasserg

Copy link
Copy Markdown
Collaborator

Non-PR workflows lack pull request commit metadata, so the action currently builds invalid API requests and reports curl and jq errors. Return successfully before API processing unless the event is pull_request or pull_request_target, while preserving --test fixture runs.

Add event-matrix regression tests and document the supported behavior.

Fixes: #15

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@quic-nasserg
Nasser Grainawi (quic-nasserg) force-pushed the skip-non-PR-events branch 2 times, most recently from 2563142 to 2294579 Compare October 2, 2026 19:07
Non-PR workflows lack pull request commit metadata, so the action
currently builds invalid API requests and reports curl and jq errors.
Return successfully before API processing unless the event is
pull_request or pull_request_target, while preserving --test fixture
runs.

Add event-matrix regression tests and document the supported behavior.

Fixes: qualcomm#15
Signed-off-by: Nasser Grainawi <nasser.grainawi@oss.qualcomm.com>
@quic-nasserg
Nasser Grainawi (quic-nasserg) merged commit 4106862 into qualcomm:main Oct 5, 2026
14 checks passed
@quic-nasserg
Nasser Grainawi (quic-nasserg) deleted the skip-non-PR-events branch October 5, 2026 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

check_email_pr.sh: line 19: [: : integer expression expected

3 participants