update collector image to sha256 #101
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: Main Branch Protection | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| check-branch: | |
| permissions: | |
| contents: read | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check branch | |
| run: | | |
| if [[ ${GITHUB_HEAD_REF} != development ]] && ! [[ ${GITHUB_HEAD_REF} =~ ^hotfix/ ]]; | |
| then | |
| echo "Error: Pull request must come from 'development' or 'hotfix/' branch" | |
| exit 1 | |
| fi |