Skip to content

Commit

Permalink
Create test
Browse files Browse the repository at this point in the history
  • Loading branch information
buihien224 authored Mar 2, 2024
1 parent 4f47e20 commit c60d1b1
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/test
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Get Last Commit Name

on:
push:
branches:
- main

jobs:
get_commit_name:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Get last commit name
run: |
COMMIT_NAME=$(git log -1 --pretty=format:"%s")
echo "Last commit name: $COMMIT_NAME"

0 comments on commit c60d1b1

Please sign in to comment.