mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 01:04:59 +00:00
aider: Remove push and pull_request triggers, add workflow_dispatch trigger to make the GitHub action only run when manually initiated.
# Context: USER: can you stop this action from running on pushes/merges and make it so that it only runs when manually initiated? ASSISTANT: Sure, to make the GitHub action only run when manually initiated, we need to modify the `.github/workflows/windows-tests.yml` file. We will remove the `push` and `pull_request` triggers and add a `workflow_dispatch` trigger. Here is the change: ```yaml .github/workflows/windows-tests.yml <<<<<<< ORIGINAL name: Windows Tests on: push: branches: - main pull_request: branches: - main ======= name: Windows Tests on: workflow_dispatch: >>>>>>> UPDATED ``` This change will make the workflow only run when manually triggered from the GitHub Actions UI.
This commit is contained in:
parent
37e8c49f7a
commit
bc6e958d7e
1 changed files with 1 additions and 6 deletions
7
.github/workflows/windows-tests.yml
vendored
7
.github/workflows/windows-tests.yml
vendored
|
@ -1,12 +1,7 @@
|
|||
name: Windows Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue