Skip to content

Commit 4d5d569

Browse files
committed
fix: gqm build error
1 parent 9329070 commit 4d5d569

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/gqm_update.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,16 @@ on:
99

1010
workflow_dispatch:
1111

12+
permissions:
13+
contents: write
14+
1215
jobs:
1316
generateDiagram:
1417
name: Generate Diagram
1518
runs-on: ubuntu-latest
1619
steps:
1720
- uses: actions/checkout@v4
1821
with:
19-
ssh-key: ${{ secrets.DEPLOY_KEY_SSH_PRIVATE_KEY }}
2022
fetch-depth: 0
2123

2224
- uses: actions/setup-node@v3

scripts/gqm_gen/update_gqm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ if [ "$ACT" = "true" ]; then
2626
exit 0
2727
else
2828
git add measuring/use_gqm.md
29-
git diff --staged --quiet || (git commit -m "Update Goals Questions Metrics Graph" && git push origin HEAD:${{ github.ref }})
29+
git diff --staged --quiet || (git commit -m "Update Goals Questions Metrics Graph" && git push origin "HEAD:${GITHUB_REF}")
3030
fi

0 commit comments

Comments
 (0)