mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Valery Kharseko
16 hours ago 2a538069c90aa87d5dc8817edc6095099cc2b2f3
Allow issue/ and feature/ branches in CI workflows (#1335)

## Summary

- Run Build and CodeQL on pushes to `issue/`, `issues/`, `feature/`, and
`features/` branches.
- Use optional `s` in the branch filters to cover both naming
conventions, including nested branch names.

## Verification

- Parsed both workflows and checked 16 branch names per workflow against
the documented GitHub Actions glob syntax.
- Ran `git diff --check`.
2 files modified
4 ■■■■■ changed files
.github/workflows/build.yml 2 ●●●●● patch | view | raw | blame | history
.github/workflows/codeql.yml 2 ●●●●● patch | view | raw | blame | history
.github/workflows/build.yml
@@ -16,7 +16,7 @@
on:
  push:
    branches: [ 'sustaining/4.10.x','master', 'issues/**', 'features/**' ]
    branches: [ 'sustaining/4.10.x','master', 'issues?/**', 'features?/**' ]
  pull_request:
concurrency:
.github/workflows/codeql.yml
@@ -16,7 +16,7 @@
on:
  push:
    branches: [ 'sustaining/4.10.x','master', 'issues/**', 'features/**' ]
    branches: [ 'sustaining/4.10.x','master', 'issues?/**', 'features?/**' ]
  pull_request:
    branches: [ 'master' ]
  schedule: