Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

T6410: applied reusable workflows (auto-author-assign,check-pr-conflicts,lint-doc) #1464

Merged
merged 5 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/reviewers.yml

This file was deleted.

177 changes: 0 additions & 177 deletions .github/vyos-linter.py

This file was deleted.

21 changes: 4 additions & 17 deletions .github/workflows/auto-author-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,12 @@ on:
pull_request_target:
types: [opened, reopened, ready_for_review, locked]


permissions:
pull-requests: write
contents: read

jobs:
# https://github.com/marketplace/actions/auto-author-assign
assign-author:
runs-on: ubuntu-latest
steps:
- name: "Assign Author to PR"
uses: toshimaru/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

# https://github.com/shufo/auto-assign-reviewer-by-files
assign_reviewer:
runs-on: ubuntu-latest
steps:
- name: Request review based on files changes and/or groups the author belongs to
uses: shufo/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
config: .github/reviewers.yml
uses: vyos/.github/.github/workflows/assign-author.yml@feature/T6349-reusable-workflows
secrets: inherit
14 changes: 14 additions & 0 deletions .github/workflows/check-pr-conflicts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

name: "PR Conflicts checker"
on:
pull_request_target:
types: [synchronize]

permissions:
pull-requests: write
contents: read

jobs:
check-pr-conflict-call:
uses: vyos/.github/.github/workflows/check-pr-merge-conflict.yml@feature/T6349-reusable-workflows
secrets: inherit
10 changes: 10 additions & 0 deletions .github/workflows/lint-doc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Lint Doc
on:
pull_request:

jobs:
lint-doc:
uses: vyos/.github/.github/workflows/lint-doc.yml@feature/T6349-reusable-workflows
secrets: inherit


27 changes: 0 additions & 27 deletions .github/workflows/main.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/pr-conflicts.yml

This file was deleted.

2 changes: 2 additions & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* @vyos/reviewers
* @rebortg
Loading