Skip to content

Commit

Permalink
add release-pr-check.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen committed Jan 14, 2025
1 parent 106ff3b commit 07a61ce
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release-pr-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Backport PR Check

on:
pull_request:
branches:
- 'release/v*'

jobs:
check-pr-author:
runs-on: ubuntu-latest
steps:
- name: Check PR author
id: check_author
run: |
if [ "${{ github.actor }}" != "aqua-bot" ]; then
echo "::error::This branch is intended for automated backporting by bot. Please refer to the documentation:"
echo "::error::https://trivy.dev/latest/community/maintainer/backporting/"
exit 1
fi

0 comments on commit 07a61ce

Please sign in to comment.