K8SPSMDB-1425: Add pitr-to-new-cluster e2e test #950
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "PR Labeler" | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
label: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v5 | |
- name: "Label PR" | |
uses: actions/labeler@v5 | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
sync-labels: true | |
label-community: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Check if PR is from a fork" | |
if: github.event.pull_request.head.repo.fork == true | |
run: | | |
gh pr edit ${{ github.event.pull_request.number }} --repo ${{ github.repository }} --add-label "community" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |