We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9329070 commit 4d5d569Copy full SHA for 4d5d569
2 files changed
.github/workflows/gqm_update.yml
@@ -9,14 +9,16 @@ on:
9
10
workflow_dispatch:
11
12
+permissions:
13
+ contents: write
14
+
15
jobs:
16
generateDiagram:
17
name: Generate Diagram
18
runs-on: ubuntu-latest
19
steps:
20
- uses: actions/checkout@v4
21
with:
- ssh-key: ${{ secrets.DEPLOY_KEY_SSH_PRIVATE_KEY }}
22
fetch-depth: 0
23
24
- uses: actions/setup-node@v3
scripts/gqm_gen/update_gqm.sh
@@ -26,5 +26,5 @@ if [ "$ACT" = "true" ]; then
26
exit 0
27
else
28
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 }})
+ git diff --staged --quiet || (git commit -m "Update Goals Questions Metrics Graph" && git push origin "HEAD:${GITHUB_REF}")
30
fi
0 commit comments