cut var
All checks were successful
Weekly Flake Update / Explore-Gitea-Actions (pull_request) Successful in 22s

This commit is contained in:
2026-03-14 13:42:53 +01:00
parent f5a810875f
commit 48bc9a7468

View File

@@ -5,6 +5,8 @@ on:
types:
- opened
- synchronize
- edited
- reopened
permissions:
contents: write
@@ -24,6 +26,8 @@ jobs:
run: |
ls ${{ github.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
- run: echo "Cat HEAD= $(cat .git/HEAD)"
- run: echo "Git parse HEAD= $(git rev-parse --abbrev-ref HEAD)"
- name: Check for string parsing
run: |
var=$(echo "${{ github.ref }}" | cut -d / -f 3)
echo "$var"