Skip to content

Commit

Permalink
CI update
Browse files Browse the repository at this point in the history
  • Loading branch information
Kseen715 committed Aug 18, 2024
1 parent 6f545a9 commit b0823c7
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/on-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,20 @@
name: CI

on:
- push
- pull_request
push:
branches:
- main
pull_request:
branches:
- main

jobs:
fetch-commit-message:
runs-on: ubuntu-latest
outputs:
commit_message: ${{ steps.get_commit_message.outputs.message }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: "Fetch commit message"
id: get_commit_message
run: echo "message=$(git log -1 --pretty=%B)" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -51,9 +55,9 @@ jobs:
needs: check-no-ci
if: needs.check-no-ci.outputs.no_ci == 'false'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: "Set up Python"
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: "Install dependencies"
Expand Down

0 comments on commit b0823c7

Please sign in to comment.