From 455e9b90f0839fb7319f5cbcc58300fbcf44ee98 Mon Sep 17 00:00:00 2001 From: kumvijaya Date: Tue, 28 May 2024 13:39:08 +0530 Subject: T6410: worflow fixes (cherry picked from commit 7ddd96be3dd3f4ad9f886d6e7110d4380074ffb8) # Conflicts: # .github/workflows/auto-author-assign.yml # .github/workflows/main.yml --- .github/workflows/auto-author-assign.yml | 14 ++++++++++++++ .github/workflows/check-pr-conflicts.yml | 14 ++++++++++++++ .github/workflows/lint-doc.yml | 10 ++++++++++ 3 files changed, 38 insertions(+) create mode 100644 .github/workflows/auto-author-assign.yml create mode 100644 .github/workflows/check-pr-conflicts.yml create mode 100644 .github/workflows/lint-doc.yml (limited to '.github/workflows') diff --git a/.github/workflows/auto-author-assign.yml b/.github/workflows/auto-author-assign.yml new file mode 100644 index 00000000..c3696ea4 --- /dev/null +++ b/.github/workflows/auto-author-assign.yml @@ -0,0 +1,14 @@ +name: "PR Triage" +on: + pull_request_target: + types: [opened, reopened, ready_for_review, locked] + + +permissions: + pull-requests: write + contents: read + +jobs: + assign-author: + uses: vyos/.github/.github/workflows/assign-author.yml@feature/T6349-reusable-workflows + secrets: inherit diff --git a/.github/workflows/check-pr-conflicts.yml b/.github/workflows/check-pr-conflicts.yml new file mode 100644 index 00000000..0c659e6e --- /dev/null +++ b/.github/workflows/check-pr-conflicts.yml @@ -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 diff --git a/.github/workflows/lint-doc.yml b/.github/workflows/lint-doc.yml new file mode 100644 index 00000000..0e15baa0 --- /dev/null +++ b/.github/workflows/lint-doc.yml @@ -0,0 +1,10 @@ +name: Doc Lint +on: + pull_request: + +jobs: + lint-doc: + uses: vyos/.github/.github/workflows/lint-doc.yml@feature/T6349-reusable-workflows + secrets: inherit + + -- cgit v1.2.3