Merge PR #70689 into main

* refs/pull/70689/head:
	.github/workflows: switch to pull_request_target trigger

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
This commit is contained in:
Patrick Donnelly 2026-07-30 09:29:44 -04:00
commit 218983d0cf
No known key found for this signature in database
GPG Key ID: 053758C0A8A3CE2F
2 changed files with 10 additions and 6 deletions

View File

@ -1,8 +1,7 @@
---
name: "Check for missing .qa links"
on:
pull_request:
# Run CI check only for branches which are active and a target for a PR
pull_request_target:
branches:
- main
- umbrella
@ -11,7 +10,6 @@ on:
types:
- opened
- synchronize
- edited
- reopened
permissions:
contents: read
@ -36,6 +34,6 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
path: pull_request
- name: verify .qa links
run: ../main/src/script/verify-qa
working-directory: pull_request/
- name: Run verification script
run: |
./main/src/script/verify-qa ./pull_request

View File

@ -1,5 +1,11 @@
#!/bin/bash
set -e
if [[ -n "$1" ]]; then
cd "$1"
fi
printf 'Commit is:\n' >&2
git log -1 >&2