Skip to content

Commit e0f39b7

Browse files
[Aikido] AI Fix for Template Injection in GitHub Workflows Action (#18)
fix(security): autofix Template Injection in GitHub Workflows Action Co-authored-by: aikido-autofix[bot] <119856028+aikido-autofix[bot]@users.noreply.github.com>
1 parent ed7fab1 commit e0f39b7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ jobs:
5151
uses: actions/checkout@v6
5252
- name: Get the module name
5353
id: module_name
54+
env:
55+
REPO_NAME: ${{ github.event.repository.name }}
5456
run: |
55-
REPO_NAME="${{ github.event.repository.name }}"
5657
REPO_NAME="${REPO_NAME/tofu-modules-/}"
5758
MODULE_NAME="${REPO_NAME//-/_}"
5859
echo "name=${MODULE_NAME}" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)