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

T6349: added reusable workflows #2

Merged
merged 7 commits into from
May 18, 2024
Merged
Show file tree
Hide file tree
Changes from 5 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
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
name: Add pull request labels

on:
pull_request_target:
branches:
- current
- equuleus
- sagitta
workflow_call:

jobs:
add-pr-label:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: "PR Triage"
on:
pull_request_target:
types: [opened, reopened, ready_for_review, locked]

permissions:
pull-requests: write
workflow_call:

jobs:
# https://github.com/marketplace/actions/auto-author-assign
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: "PR Conflicts checker"
name: "Check PR merge conflicts"
on:
pull_request_target:
types: [synchronize]
workflow_call:

jobs:
Conflict_Check:
pr-conflict-Check:
name: 'Check PR status: conflicts and resolution'
runs-on: ubuntu-latest
steps:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Mergifyio backport
name: Label backport

on: [issue_comment]
on:
workflow_call:

jobs:
mergifyio_backport:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
name: Build Pull Request Package

on:
pull_request:
branches:
- current
- sagitta
- equuleus
workflow_call:

jobs:
j2lint:
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/pull-request-message-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
name: Check pull request message format

on:
pull_request:
branches:
- current
- sagitta
- equuleus
workflow_call:

jobs:
check-pr-title:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: "Issue and PR stale management"

on:
schedule:
- cron: "0 0 * * *"
workflow_call:

jobs:
stale:
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/unused-imports.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Check for unused imports using Pylint

on:
pull_request_target:
branches:
- current
- sagitta
workflow_call:

jobs:
Check-Unused-Imports:
Expand Down