Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
borisbolliet committed Sep 29, 2024
1 parent ed0fcf6 commit d07f6fc
Show file tree
Hide file tree
Showing 8 changed files with 56 additions and 46 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
name: Build

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
merge_group:
types: [checks_requested]
workflow_dispatch:
# push:
# branches: ["main"]
# pull_request:
# branches: ["main"]
# merge_group:
# types: [checks_requested]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/contrib-openai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
name: OpenAI4ContribTests

on:
pull_request:
branches: ["main"]
paths:
- "autogen/**"
- "test/agentchat/contrib/**"
- ".github/workflows/contrib-openai.yml"
- "setup.py"
workflow_dispatch:
# pull_request:
# branches: ["main"]
# paths:
# - "autogen/**"
# - "test/agentchat/contrib/**"
# - ".github/workflows/contrib-openai.yml"
# - "setup.py"
permissions:
{}
# actions: read
Expand Down
19 changes: 10 additions & 9 deletions .github/workflows/contrib-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@
name: ContribTests

on:
pull_request:
branches: ["main"]
paths:
- "autogen/**"
- "test/agentchat/contrib/**"
- "test/test_browser_utils.py"
- "test/test_retrieve_utils.py"
- ".github/workflows/contrib-tests.yml"
- "setup.py"
workflow_dispatch:
# pull_request:
# branches: ["main"]
# paths:
# - "autogen/**"
# - "test/agentchat/contrib/**"
# - "test/test_browser_utils.py"
# - "test/test_retrieve_utils.py"
# - ".github/workflows/contrib-tests.yml"
# - "setup.py"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}
Expand Down
19 changes: 10 additions & 9 deletions .github/workflows/openai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@
name: OpenAI

on:
pull_request:
branches: ["main"]
paths:
- "autogen/**"
- "test/**"
- "notebook/agentchat_auto_feedback_from_code_execution.ipynb"
- "notebook/agentchat_function_call.ipynb"
- "notebook/agentchat_groupchat_finite_state_machine.ipynb"
- ".github/workflows/openai.yml"
workflow_dispatch:
# pull_request:
# branches: ["main"]
# paths:
# - "autogen/**"
# - "test/**"
# - "notebook/agentchat_auto_feedback_from_code_execution.ipynb"
# - "notebook/agentchat_function_call.ipynb"
# - "notebook/agentchat_groupchat_finite_state_machine.ipynb"
# - ".github/workflows/openai.yml"
permissions:
{}
# actions: read
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ name: Code formatting

# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows
on: # Trigger the workflow on pull request or merge
pull_request:
merge_group:
types: [checks_requested]
workflow_dispatch:
# pull_request:
# merge_group:
# types: [checks_requested]

defaults:
run:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@
name: python-package

on:
release:
types: [published]
workflow_dispatch:
push:
branches: ["cmbagent"]
# release:
# types: [published]
permissions: {}
# actions: read
# checks: read
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/samples-tools-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
name: SamplesToolsTests

on:
pull_request:
branches: ["main"]
paths:
- "autogen/**"
- "samples/tools/**"
- ".github/workflows/samples-tools-tests.yml"
- "setup.py"
workflow_dispatch:
# pull_request:
# branches: ["main"]
# paths:
# - "autogen/**"
# - "samples/tools/**"
# - ".github/workflows/samples-tools-tests.yml"
# - "setup.py"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/type-check.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Type check
# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows
on: # Trigger the workflow on pull request or merge
pull_request:
merge_group:
types: [checks_requested]
workflow_dispatch:
# pull_request:
# merge_group:
# types: [checks_requested]
defaults:
run:
shell: bash
Expand Down

0 comments on commit d07f6fc

Please sign in to comment.