chore: chore
This commit is contained in:
@@ -12,12 +12,11 @@ env:
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Get head commit
|
||||
run: |
|
||||
export COMMIT_MESSAGE=$(git log --format=%B -n 1 HEAD | head -n 1)
|
||||
export COMMIT_MESSAGE="$(git log --format=%B -n 1 HEAD | head -n 1)"
|
||||
echo "CHECK: '${{ COMMIT_MESSAGE }}'"
|
||||
if [[ "${{ COMMIT_MESSAGE }}" == "#bot-message: *" ]]; then
|
||||
echo "FOUND: '#bot-message: '"
|
||||
|
||||
Reference in New Issue
Block a user