mirror of
https://github.com/tmux/tmux.git
synced 2026-10-07 02:04:22 +00:00
ci: only run lock and regress workflows on the main repo
Forks are just wasting CI cycles spinning actions which are probably not looked at. Also avoid locking issues and PRs on any forks with upstream's policies.
This commit is contained in:
1
.github/workflows/lock.yml
vendored
1
.github/workflows/lock.yml
vendored
@@ -16,6 +16,7 @@ concurrency:
|
||||
jobs:
|
||||
action:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'tmux/tmux'
|
||||
steps:
|
||||
- uses: dessant/lock-threads@v6
|
||||
with:
|
||||
|
||||
1
.github/workflows/regress.yml
vendored
1
.github/workflows/regress.yml
vendored
@@ -16,6 +16,7 @@ jobs:
|
||||
regress:
|
||||
name: ${{ matrix.name }}
|
||||
runs-on: ${{ matrix.runner }}
|
||||
if: github.repository == 'tmux/tmux'
|
||||
timeout-minutes: 45
|
||||
|
||||
strategy:
|
||||
|
||||
Reference in New Issue
Block a user