Skip to content

Commit 0480efb

Browse files
authored
submodule-release-updater.yml: Treat GitHub vars as raw Nunjucks values (#443)
Prevents `{{` and `}}` from being interpreted as Nunjucks substitutions. Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
1 parent 73aeb1f commit 0480efb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.sync/workflows/leaf/submodule-release-update.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ jobs:
4141
id: app-token
4242
uses: actions/create-github-app-token@v2
4343
with:
44-
app-id: ${{ vars.MU_ACCESS_APP_ID }}
45-
private-key: ${{ secrets.MU_ACCESS_APP_PRIVATE_KEY }}
44+
app-id: {% raw %}${{ vars.MU_ACCESS_APP_ID }}{% raw %}
45+
private-key: {% raw %}${{ secrets.MU_ACCESS_APP_PRIVATE_KEY }}{% raw %}
4646

4747
- name: Update Submodules to Latest Release
4848
uses: microsoft/mu_devops/.github/actions/submodule-release-updater@{{ sync_version.mu_devops }}
4949
with:
50-
GH_PAT: {% raw %}${{ steps.app-token.outputs.token }}{% endraw %}
50+
GH_PAT: {% raw %}${{ steps.app-token.outputs.token }}{% raw %}
5151
GH_USER: "ProjectMuBot"
5252
GIT_EMAIL: "mubot@microsoft.com"
5353
GIT_NAME: "Project Mu Bot"

0 commit comments

Comments
 (0)