Skip to content

Commit 173e769

Browse files
authored
Update dogfood.yaml
1 parent 32e1cb8 commit 173e769

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/dogfood.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,19 @@ jobs:
5757
steps:
5858
- name: Checkout
5959
uses: actions/checkout@v3
60+
61+
- name: Get short commit SHA
62+
id: vars
63+
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
64+
65+
- name: Get Latest Commit Title
66+
id: message
67+
run: echo "pr_title==$(git log --format=%s -n 1 ${{ github.sha }})" >> $GITHUB_OUTPUT
6068

6169
- name: "Get latest Coder binary from the server"
6270
run: |
6371
curl -fsSL "https://dev.coder.com/bin/coder-linux-amd64" -o "./coder"
6472
chmod +x "./coder"
65-
66-
- name: Get Latest Commit Title
67-
id: message
68-
run: |
69-
pr_title=$(git log --format=%s -n 1 ${{ github.sha }})
70-
echo "PR title=$pr_title" >> $GITHUB_OUTPUT
7173
7274
- name: "Push template"
7375
run: |

0 commit comments

Comments
 (0)