forked from malobeo/infrastructure
cut var
All checks were successful
Weekly Flake Update / update_and_check_flake (push) Successful in 5m55s
All checks were successful
Weekly Flake Update / update_and_check_flake (push) Successful in 5m55s
This commit is contained in:
@@ -4,7 +4,9 @@ on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
- 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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user