Skip to content

Conversation

Copy link

Copilot AI commented Jan 2, 2026

GitHub Actions was sending email notifications on every commit due to automatic workflow triggers. Changed workflow to manual-only execution.

Changes

  • Updated .github/workflows/test.yml trigger from commented #on: [push, pull_request] to on: workflow_dispatch
  • Added clarifying comment that workflow now requires manual execution
# Only run manually - no automatic triggers
on: workflow_dispatch

The workflow must now be triggered manually from the Actions tab. All test steps and Docker service configuration remain unchanged.

Original prompt

I am getting mails for the every commit i do in the pipecraft branches so I want to turn it off so apply this script if needed so to be able to trun it off in github actions since it is annoying:
name: CI

Only run manually - no automatic triggers

on: workflow_dispatch

jobs:
build:
runs-on: ubuntu-latest

services:
  docker: 
    image: docker:20.10.2-dind
    options: --privileged
    env: 
      DOCKER_TLS_CERTDIR: /certs

steps:
  - name:  Checkout code
    uses: actions/checkout@v2

  - name: Set up Node.js
    uses: actions/setup-node@v2
    with: 
      node-version: "14"

  - name: Install dependencies
    run: |
      yarn install

  - name: Pull Docker container
    run: |
      docker pull pipecraft/cutadapt:4.4

  - name: Run bioinformatics tests
    run: |
      node testData/cutadapt_test.js

  - name: Clean up
    run: docker system prune -f

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…cations

Co-authored-by: alihkz94 <94843557+alihkz94@users.noreply.github.com>
Copilot AI changed the title [WIP] Update GitHub Actions script to disable email notifications Switch CI workflow to manual trigger to disable automatic email notifications Jan 2, 2026
Copilot AI requested a review from alihkz94 January 2, 2026 15:06
Copy link
Member

@alihkz94 alihkz94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

turning off the email notification

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants