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
45 changes: 45 additions & 0 deletions .github/workflows/cross_task_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Cross-task check

on:
pull_request_target:
types:
- opened
- reopened
- synchronize
- edited # base branch changed
branches:
- "2026"
paths:
- contributions/**

permissions:
contents: read
pull-requests: write

concurrency:
group: cross-task-check-${{ github.event.pull_request.number }}
cancel-in-progress: true

jobs:
cross-task-check:
runs-on: ubuntu-latest
steps:
- name: Checkout base branch (tools only)
uses: actions/checkout@v7
with:
sparse-checkout: tools
persist-credentials: false

- uses: actions/setup-python@v7
with:
python-version: "3.12"

- name: Install dependencies
run: pip install "PyGithub==2.5.0"

- name: Check cross-task week conflicts
run: python tools/task_cross_validation.py
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.pull_request.number }}
BASE_REF: ${{ github.event.pull_request.base.ref }}
Loading
Loading