Skip to content

Commit 7793383

Browse files
committed
fix: escape workflow variables
1 parent b148d39 commit 7793383

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

template/.gitea/workflows/create_update_pr.yml.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ jobs:
5151
fi
5252

5353
git push -u origin $branch
54-
curl -X POST "https://gitea.psi.ch/api/v1/repos/${{ gitea.repository }}/pulls" \
55-
-H "Authorization: token ${{ secrets.CI_REPO_WRITE }}" \
54+
curl -X POST "https://gitea.psi.ch/api/v1/repos/{{ "${{ gitea.repository }}" }}/pulls" \
55+
-H "Authorization: token {{ "${{ secrets.CI_REPO_WRITE }}" }}" \
5656
-H "Content-Type: application/json" \
5757
-d "{
5858
\"title\": \"Template: $(echo $msg)\",

0 commit comments

Comments
 (0)