Skip to content

feat: compact chat

feat: compact chat #83

Workflow file for this run

name: build
on: [ pull_request, push ]
jobs:
commit-checker:
runs-on: ubuntu-latest
outputs:
skip_build: ${{ steps.check.outputs.skip_build }}
steps:
- uses: actions/checkout@v4
- name: Check commit message
id: check
run: |
commit_message=$(git log -1 --pretty=%B)
echo "Commit message: $commit_message"
if [[ "$commit_message" == *"[skip ci]"* ]]; then
echo "Skipping CI..."
echo "skip_build=true" >> $GITHUB_OUTPUT
else
echo "Confirming CI..."
echo "skip_build=false" >> $GITHUB_OUTPUT
fi
build-and-summary:
needs: commit-checker
if: needs.commit-checker.outputs.skip_build == 'false'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/build_artifacts/
- name: Generate summary
uses: ./.github/actions/summary/