use secret for subscriptionId #14571
Workflow file for this run
This file contains 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: Githooks | |
on: [push, pull_request] | |
jobs: | |
shellcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Shellcheck | |
uses: bewuethr/[email protected] | |
commit-msg: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Valid commit messages | |
shell: bash | |
run: bash ./.github/scripts/commit-msg-test.sh | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Valid branch names | |
shell: bash | |
run: | | |
git checkout -b feature/dx-123_hello | |
bash ./.githooks/pre-commit | |
- name: Invalid branch names | |
shell: bash | |
run: | | |
git checkout -b feature/hello | |
bash ./.githooks/pre-commit |