feat(magnum,libvirt): add priorityClassName support for libvirt and Magnum aux workloads #2840
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: backports | |
| on: | |
| pull_request_target: | |
| types: [closed] | |
| issue_comment: | |
| types: [created] | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| cherry-pick: | |
| runs-on: ubuntu-latest | |
| # NOTE(mnaser): https://github.com/korthout/backport-action?tab=readme-ov-file#trigger-using-a-comment | |
| if: > | |
| ( | |
| github.event_name == 'pull_request_target' && | |
| github.event.pull_request.merged | |
| ) || ( | |
| github.event_name == 'issue_comment' && | |
| github.event.issue.pull_request && | |
| github.event.comment.user.id != 105816074 && | |
| startsWith(github.event.comment.body, '/backport') | |
| ) | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@a90bcbc6539c36a85cdfeb73f7e2f433735f215b # v2.15.0 | |
| with: | |
| egress-policy: audit | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | |
| with: | |
| token: ${{ secrets.VEXXHOST_BOT_PAT }} | |
| - uses: korthout/backport-action@436145e922f9561fc5ea157ff406f21af2d6b363 # v3.2.0 | |
| with: | |
| github_token: ${{ secrets.VEXXHOST_BOT_PAT }} | |
| copy_labels_pattern: skip-release-notes |