Skip to content

Commit

Permalink
Add back comments
Browse files Browse the repository at this point in the history
  • Loading branch information
JasoonS authored and JonoPrest committed Jun 14, 2024
1 parent b6c7a31 commit 6158bd5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/codegen_diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
with:
version: 8.9

- name: Get pnpm store directory (if this seems stable and static we can hard-code it again)
- name: Get pnpm store directory (if this seems stable and static we can hard-code it again) # Source: https://github.com/pnpm/action-setup#use-cache-to-reduce-installation-time
id: pnpm-cache
shell: bash
run: |
Expand Down Expand Up @@ -78,6 +78,8 @@ jobs:
- name: Get the branch name
id: extract_branch
run: |
# ${{ github.head_ref || github.ref_name }} or ${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}} both work. `github.head_ref` doesn't work for direct pushes (not PRs).
# Reference: https://stackoverflow.com/questions/60300169/how-to-get-branch-name-on-github-action
echo "::set-output name=branch::$(echo ${{ github.head_ref || github.ref_name }})"
- name: Commit and push changes to output repository
Expand Down

0 comments on commit 6158bd5

Please sign in to comment.