[improvement] Change conditions pkg to use kubernetes metav1 #1348
Workflow file for this run
This file contains 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: | |
workflow_dispatch: | |
pull_request_target: | |
types: [opened, reopened, synchronize] | |
jobs: | |
label-pr: | |
name: Update PR labels | |
permissions: | |
contents: write | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Label PR | |
uses: release-drafter/release-drafter@v6 | |
with: | |
disable-releaser: github.ref != 'refs/heads/main' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |