Skip to content

Commit b4beb17

Browse files
committed
wip: add ref via env
1 parent 40b8397 commit b4beb17

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/config-validator.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,16 @@ jobs:
1212
runs-on: ubuntu-latest
1313
permissions:
1414
contents: read
15+
env:
16+
THIS_ACTION_REF: "${{github.action_ref}}"
1517
steps:
1618
- uses: actions/checkout@v6
1719
- name: Compute action ref
1820
run: |
1921
ref="${{github.workflow_ref}}"
2022
echo "${{github.workflow_ref}}"
2123
echo "${{github.ref}}"
24+
echo "${THIS_ACTION_REF}"
2225
echo "${ref##*@}"
2326
2427
- name: Validate workflows

0 commit comments

Comments
 (0)