[Feature]: Simplify the current CLI structure using a metadata file to store essential environment and cluster data #104
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: Auto Assign | |
| on: | |
| issues: | |
| types: [opened] | |
| pull_request: | |
| types: [opened] | |
| jobs: | |
| pr-assigner: | |
| if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pull-requests: write | |
| steps: | |
| - name: "Pull Request issue assigner" | |
| uses: pozil/auto-assign-issue@v1 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| assignees: LorenzoTettamanti | |
| numOfAssignee: 1 | |
| generic-issue-assigner: | |
| if: github.event_name == 'issues' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| steps: | |
| - name: "Issue assigner" | |
| uses: pozil/auto-assign-issue@v1 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| assignees: LorenzoTettamanti | |
| cli-issue-assigner: | |
| if: github.event_name == 'issues' && github.event.action == 'labeled' && github.event.issue.labels.name == 'cortexflow cli' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| steps: | |
| - name: "Cli issue assigner" | |
| uses: pozil/auto-assign-issue@v1 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| assignees: LorenzoTettamanti,PranavVerma-droid |