Can't have branches and branch-ignores together. Just defining main branch instead now.

This commit is contained in:
Thomas Nguyen
2023-09-11 13:19:07 -07:00
parent fccbb6f2d1
commit aa9e53b47a
4 changed files with 6 additions and 10 deletions

View File

@@ -4,9 +4,9 @@ on:
push: push:
branches: branches:
- main - main
branches-ignore:
- v2/trunk
pull_request: pull_request:
branches:
- main
types: [opened, synchronize, reopened] types: [opened, synchronize, reopened]
jobs: jobs:

View File

@@ -4,8 +4,6 @@ on:
push: push:
branches: branches:
- main - main
branches-ignore:
- v2/trunk
env: env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}

View File

@@ -2,8 +2,8 @@ name: Pull Request Jira Check
on: on:
pull_request: pull_request:
branches-ignore: branches:
- v2/trunk - main
types: [opened, edited, synchronize, reopened] types: [opened, edited, synchronize, reopened]

View File

@@ -4,11 +4,9 @@ on:
push: push:
branches: branches:
- main - main
branches-ignore:
- v2/trunk
pull_request: pull_request:
branches-ignore: branches:
- v2/trunk - main
jobs: jobs:
build: build: