mirror of https://github.com/Desuuuu/klipper.git
workflows: Limit github ticket workflows to Klipper3d/klipper repo
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
bea16c74be
commit
34f58f2816
|
@ -5,6 +5,7 @@ on:
|
|||
types: [labeled]
|
||||
jobs:
|
||||
comment:
|
||||
if: github.repository == 'Klipper3d/klipper'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/github-script@v3
|
||||
|
|
|
@ -6,6 +6,7 @@ on:
|
|||
jobs:
|
||||
# Check for stale issues (no updates in 5 weeks)
|
||||
stale:
|
||||
if: github.repository == 'Klipper3d/klipper'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/stale@v3
|
||||
|
@ -32,6 +33,7 @@ jobs:
|
|||
days-before-close: 7
|
||||
# Close tickets marked with "not on github" label
|
||||
close_not_on_github:
|
||||
if: github.repository == 'Klipper3d/klipper'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/github-script@v3
|
||||
|
@ -60,6 +62,7 @@ jobs:
|
|||
}
|
||||
# Close tickets marked with "resolved" label
|
||||
close_resolved:
|
||||
if: github.repository == 'Klipper3d/klipper'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/github-script@v3
|
||||
|
@ -101,6 +104,7 @@ jobs:
|
|||
}
|
||||
# Close PRs marked with "not mainline" label
|
||||
close_not_mainline:
|
||||
if: github.repository == 'Klipper3d/klipper'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/github-script@v3
|
||||
|
@ -143,6 +147,7 @@ jobs:
|
|||
}
|
||||
# Mark (and close) PRs with "pending feedback" for 3+ weeks
|
||||
mark_inactive:
|
||||
if: github.repository == 'Klipper3d/klipper'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/github-script@v3
|
||||
|
|
Loading…
Reference in New Issue