refactor: Ensure findById
returns null
instead of an array when ID is null
#744
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Detect Merge Commits | |
on: | |
pull_request: | |
branches: | |
- develop | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
test: | |
name: Check for merge commits | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run test | |
uses: NexusPHP/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} |