CodexBloom - Programming Q&A Platform

implementing CI/CD pipeline on GitHub Actions not triggering on specific branch push

πŸ‘€ Views: 10 πŸ’¬ Answers: 1 πŸ“… Created: 2025-06-14
github-actions ci-cd git YAML

I'm converting an old project and After trying multiple solutions online, I still can't figure this out. I'm trying to figure out I'm sure I'm missing something obvious here, but This might be a silly question, but I'm currently working with an scenario with my GitHub Actions CI/CD pipeline where it's not triggering on pushes to a specific branch, `feature/new-feature`..... The workflow is set up correctly, and I've made sure that there's no syntax behavior in my `.github/workflows/ci.yml` file. However, despite pushing multiple commits to `feature/new-feature`, the actions do not start. I have the following trigger configuration: ```yaml name: CI on: push: branches: - feature/new-feature jobs: build: runs-on: ubuntu-latest 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: npm install - name: Run tests run: npm test ``` I've checked the repository settings and confirmed that the branch protection rules do not block GitHub Actions from running. I also verified that the repository is public and does not have any restrictions that could prevent the actions from triggering. As a troubleshooting step, I tried pushing to the `main` branch, and the workflow executed as expected. I even tried creating a new branch and pushing to it, which also worked fine. The actions only seem to unexpected result on this specific branch. Does anyone know if there’s a limitation or specific configuration that might affect GitHub Actions triggering on certain branches? Any suggestions on how to further debug this scenario would be greatly appreciated! I'm working on a CLI tool that needs to handle this. Any help would be greatly appreciated! I recently upgraded to Yaml latest. Thanks in advance! Thanks for taking the time to read this!