mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
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:
commit
218983d0cf
10
.github/workflows/qa-symlink.yml
vendored
10
.github/workflows/qa-symlink.yml
vendored
@ -1,8 +1,7 @@
|
|||||||
---
|
---
|
||||||
name: "Check for missing .qa links"
|
name: "Check for missing .qa links"
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request_target:
|
||||||
# Run CI check only for branches which are active and a target for a PR
|
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
- umbrella
|
- umbrella
|
||||||
@ -11,7 +10,6 @@ on:
|
|||||||
types:
|
types:
|
||||||
- opened
|
- opened
|
||||||
- synchronize
|
- synchronize
|
||||||
- edited
|
|
||||||
- reopened
|
- reopened
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
@ -36,6 +34,6 @@ jobs:
|
|||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
path: pull_request
|
path: pull_request
|
||||||
|
|
||||||
- name: verify .qa links
|
- name: Run verification script
|
||||||
run: ../main/src/script/verify-qa
|
run: |
|
||||||
working-directory: pull_request/
|
./main/src/script/verify-qa ./pull_request
|
||||||
|
|||||||
@ -1,5 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
if [[ -n "$1" ]]; then
|
||||||
|
cd "$1"
|
||||||
|
fi
|
||||||
|
|
||||||
printf 'Commit is:\n' >&2
|
printf 'Commit is:\n' >&2
|
||||||
git log -1 >&2
|
git log -1 >&2
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user