From 709235afc72a67e777c4f586a6a3230c71496f7c Mon Sep 17 00:00:00 2001 From: Nathan Weinberg Date: Tue, 3 Sep 2024 11:16:28 -0400 Subject: [PATCH] ci: add AWS tags to show github ref and PR num for all jobs right now we can see what type of runner and which repository an AWS runner is associated with, but not the associated ref and PR number Signed-off-by: Nathan Weinberg --- .github/workflows/e2e-nvidia-t4-x1.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2e-nvidia-t4-x1.yml b/.github/workflows/e2e-nvidia-t4-x1.yml index c46b177c..2732dd4e 100644 --- a/.github/workflows/e2e-nvidia-t4-x1.yml +++ b/.github/workflows/e2e-nvidia-t4-x1.yml @@ -48,7 +48,9 @@ jobs: aws-resource-tags: > [ {"Key": "Name", "Value": "instructlab-ci-github-small-runner"}, - {"Key": "GitHubRepository", "Value": "${{ github.repository }}"} + {"Key": "GitHubRepository", "Value": "${{ github.repository }}"}, + {"Key": "GitHubRef", "Value": "${{ github.ref }}"}, + {"Key": "GitHubPR", "Value": "${{ github.event.number }}"} ] e2e: