forked from malobeo/infrastructure
cut var
All checks were successful
Weekly Flake Update / Explore-Gitea-Actions (pull_request) Successful in 22s
All checks were successful
Weekly Flake Update / Explore-Gitea-Actions (pull_request) Successful in 22s
This commit is contained in:
@@ -4,7 +4,9 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
types:
|
types:
|
||||||
- opened
|
- opened
|
||||||
- synchronize
|
- synchronize
|
||||||
|
- edited
|
||||||
|
- reopened
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
@@ -24,6 +26,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
ls ${{ github.workspace }}
|
ls ${{ github.workspace }}
|
||||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||||
- run: echo "Cat HEAD= $(cat .git/HEAD)"
|
- name: Check for string parsing
|
||||||
- run: echo "Git parse HEAD= $(git rev-parse --abbrev-ref HEAD)"
|
run: |
|
||||||
|
var=$(echo "${{ github.ref }}" | cut -d / -f 3)
|
||||||
|
echo "$var"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user