chore: chore
This commit is contained in:
@@ -21,14 +21,17 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
|
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
|
||||||
run: |
|
run: |
|
||||||
if [[ "${COMMIT_MESSAGE}" == "#bot-message: *" ]]; then
|
echo "CHECK: '${{ env.COMMIT_MESSAGE }}'"
|
||||||
|
if [[ "${{ env.COMMIT_MESSAGE }}" == "#bot-message: *" ]]; then
|
||||||
|
echo "FOUND: '#bot-message: '"
|
||||||
echo "BOT_MESSAGE=${BOT_MESSAGE}" >> "${GITHUB_ENV}"
|
echo "BOT_MESSAGE=${BOT_MESSAGE}" >> "${GITHUB_ENV}"
|
||||||
else
|
else
|
||||||
|
echo "NOT FOUND: '#bot-message: '"
|
||||||
echo 'BOT_MESSAGE=' >> "${GITHUB_ENV}"
|
echo 'BOT_MESSAGE=' >> "${GITHUB_ENV}"
|
||||||
fi
|
fi
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ vars.BOT_MESSAGE == true }}
|
if: ${{ vars.BOT_MESSAGE == 'true' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user