Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/check_approvals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Check OWNERS approval
runs-on: ubuntu-latest
# Skip draft PRs.
if: github.event.pull_request.draft == false
if: github.event.pull_request.draft == false && github.repository == 'warpdotdev/warp'
steps:
- name: Checkout repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ jobs:
# we'll want to make sure that the conflict resolution doesn't introduce any issues.
if: >-
github.event.pull_request.draft == false &&
(!startsWith(github.event.pull_request.head.ref, 'repo-sync/') || contains(github.event.pull_request.labels.*.name, 'repo-sync:conflict'))
(!startsWith(github.event.pull_request.head.ref, 'repo-sync/') || contains(github.event.pull_request.labels.*.name, 'repo-sync:conflict')) &&
github.repository == 'warpdotdev/warp'
outputs:
affects-database-schema: ${{ github.ref == 'master' || steps.filter.outputs.affects-database-schema }}
affects-rust-sources: ${{ github.ref == 'master' || steps.filter.outputs.affects-rust-sources }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/close_stale_fix_prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ on:
jobs:
close-stale-fix-prs:
runs-on: ubuntu-latest
if: github.repository == 'warpdotdev/warp'
steps:
- name: Close Stale Fix PRs
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/cut_new_releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
get_config:
name: Get release configuration
runs-on: ubuntu-latest
if: github.repository == 'warpdotdev/warp'
env:
SCHEDULE: ${{ github.event.schedule }}
TARGETS: ${{ inputs.targets }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/feature_flag_cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
analyze:
name: Analyze feature flags
runs-on: namespace-profile-ubuntu-small
if: github.repository == 'warpdotdev/warp'
permissions:
contents: read
pull-requests: read
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/label_external_contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
label-external-contributor:
name: Label external-contributor PRs
runs-on: ubuntu-latest
if: github.repository == 'warpdotdev/warp'
permissions:
pull-requests: write
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/populate_build_cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ name: Populate Build Cache
jobs:
populate_build_cache:
name: CI
if: github.repository == 'warpdotdev/warp'
uses: ./.github/workflows/ci.yml
secrets: inherit
10 changes: 6 additions & 4 deletions .github/workflows/repo-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:

jobs:
sync:
if: github.event_name == 'push' || inputs.action == 'sync'
if: (github.event_name == 'push' || inputs.action == 'sync') && github.repository == 'warpdotdev/warp'
uses: warpdotdev/repo-sync/.github/workflows/sync.yml@main
with:
repo_sync_ref: main
Expand All @@ -35,7 +35,8 @@ jobs:
(
github.event.pull_request.merged == true ||
(github.event.action == 'labeled' && github.event.label.name == 'repo-sync:needs-restack')
)
) &&
github.repository == 'warpdotdev/warp'
uses: warpdotdev/repo-sync/.github/workflows/restack.yml@main
with:
repo_sync_ref: main
Expand All @@ -50,7 +51,8 @@ jobs:
if: >-
github.event_name == 'pull_request' &&
github.event.action != 'closed' &&
startsWith(github.event.pull_request.head.ref, 'repo-sync/')
startsWith(github.event.pull_request.head.ref, 'repo-sync/') &&
github.repository == 'warpdotdev/warp'
uses: warpdotdev/repo-sync/.github/workflows/approve.yml@main
with:
repo_sync_ref: main
Expand All @@ -61,7 +63,7 @@ jobs:
approver_app_private_key: ${{ secrets.REPO_SYNC_APPROVER_APP_PRIVATE_KEY }}

escalation:
if: inputs.action == 'escalation'
if: inputs.action == 'escalation' && github.repository == 'warpdotdev/warp'
uses: warpdotdev/repo-sync/.github/workflows/escalation.yml@main
with:
repo_sync_ref: main
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/stale_requested_changes_prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ permissions:
jobs:
stale-requested-changes:
runs-on: ubuntu-latest
if: github.repository == 'warpdotdev/warp'
steps:
- name: Check out repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/sync-pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
check:
name: Verify PR base is the default branch
runs-on: ubuntu-slim
if: github.repository == 'warpdotdev/warp'
steps:
- name: Fail if merging a repo-sync branch into another repo-sync branch
env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-dedupe-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
type: string
jobs:
update_dedupe:
if: github.repository == 'warpdotdev/warp'
permissions:
contents: write
pull-requests: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-pr-review-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
type: string
jobs:
update_pr_review:
if: github.repository == 'warpdotdev/warp'
permissions:
contents: write
pull-requests: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-triage-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
type: string
jobs:
update_triage:
if: github.repository == 'warpdotdev/warp'
permissions:
contents: write
pull-requests: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/warp_cleanup_fix_prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
jobs:
close-fix-prs:
runs-on: ubuntu-latest
if: contains(github.event.pull_request.labels.*.name, 'auto-fix-ci')
if: contains(github.event.pull_request.labels.*.name, 'auto-fix-ci') && github.repository == 'warpdotdev/warp'
steps:
- name: Close Dependent Fix PRs
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
Expand Down