Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
4ca68af
adding gate workflow
robgruen Dec 31, 2025
6dafe92
changed name casing
robgruen Dec 31, 2025
3aca127
added workflow run trigger
robgruen Dec 31, 2025
860b456
added branch filter
robgruen Dec 31, 2025
61e68fb
added action read perm
robgruen Dec 31, 2025
4f79871
removed branch filter
robgruen Dec 31, 2025
5ab35b0
updated type
robgruen Dec 31, 2025
f18fcc0
added branch filter for testing
robgruen Dec 31, 2025
7c7cb4c
added manual trigger
robgruen Dec 31, 2025
5e6495d
[temporarily] removed concurrency check
robgruen Dec 31, 2025
ea09498
adding failure case for diagnosis
robgruen Dec 31, 2025
36eafe2
added negative check
robgruen Dec 31, 2025
08c3c97
allow workflow trigger
robgruen Dec 31, 2025
a835499
updted failure condition
robgruen Dec 31, 2025
ee9cf20
fixed casing
robgruen Dec 31, 2025
da379a7
removed branch filter
robgruen Dec 31, 2025
5177fd9
testing different triggering method
robgruen Dec 31, 2025
211d588
removed quotes for gate workflow name
robgruen Dec 31, 2025
b920bce
removed dev branch
robgruen Dec 31, 2025
0501922
added concurrency back
robgruen Dec 31, 2025
285a7f6
removed failure mode for cleanliness
robgruen Dec 31, 2025
4ce121d
removed push branch trigger for main
robgruen Dec 31, 2025
d533dcc
Better workflow with early exit
robgruen Dec 31, 2025
543be45
updated branch name
robgruen Dec 31, 2025
80c7185
Merge branch 'main' into dev/robgruen/workflow_gate2
robgruen Dec 31, 2025
64bf4d1
removed gate
robgruen Dec 31, 2025
a9b47b4
removed branch trigger
robgruen Dec 31, 2025
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
51 changes: 25 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@
name: CI

on:
workflow_run:
workflows: ["gate"]
types: [requested, completed]
# push:
# branches: [ "main", "dev/robgruen/workflow_updates" ]
# pull_request_target:
# branches: [ "main" ]
push:
branches: [ "main" ]
pull_request_target:
branches: [ "main" ]
workflow_dispatch: # manual run

concurrency:
Expand All @@ -23,25 +20,8 @@ permissions:

jobs:

ci:
environment:
name: build-pipeline
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ['3.12', '3.13', '3.14']
task: [check, test, format]
exclude:
- os: windows-latest
python-version: '3.13'
- os: windows-latest
python-version: '3.14'
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} ${{ matrix.task }} (py ${{ matrix.python-version }})

# Only run this job if the Gate workflow succeeded or if manually triggered
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
permissions-check:
runs-on: ubuntu-latest
steps:

# The following two steps (permissions checks) ensure that only users with write access can run this workflow on a PR (except the merge queue bot)
Expand All @@ -66,6 +46,25 @@ jobs:
echo "Job originally triggered by ${{ github.actor }}"
exit 1

ci:
needs: permissions-check
environment:
name: build-pipeline
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ['3.12', '3.13', '3.14']
task: [check, test, format]
exclude:
- os: windows-latest
python-version: '3.13'
- os: windows-latest
python-version: '3.14'
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} ${{ matrix.task }} (py ${{ matrix.python-version }})

steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
Expand Down
45 changes: 0 additions & 45 deletions .github/workflows/gate.yml

This file was deleted.

Loading