Skip to content

Commit cf0107f

Browse files
committed
github: add testing workflow. exploration.
1 parent 6844d47 commit cf0107f

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/testing.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Checkout and Display Branch
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
checkout:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout Repository
12+
uses: actions/checkout@v4
13+
- name: Display Checked Out Branch
14+
run: |
15+
echo "Repository Full Name: ${{ github.repository }}"
16+
echo "Branch: ${{ github.ref_name }}"
17+
echo "Current Branch in Checkout: $(git rev-parse --abbrev-ref HEAD)"

0 commit comments

Comments
 (0)