Skip to content

Commit

Permalink
Merge pull request #80 from InnerSourceCommons/fix-gqm-commit-feat
Browse files Browse the repository at this point in the history
fix: move direct commit to workflow, use bot
  • Loading branch information
rrrutledge authored Mar 26, 2024
2 parents eb71946 + eeb7fd4 commit 2bd2789
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/gqm_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
generateDiagram:
name: Generate Diagram
runs-on: ubuntu-latest
steps:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js
Expand All @@ -29,4 +29,10 @@ jobs:
- run: sh ./scripts/gqm_gen/gqm_update.sh ./new_gqm.md.tmp ./measuring/use_gqm.md > ./measuring/use_gqm.md.tmp
- run: rm -f ./new_gqm.md.tmp
- run: mv -f ./measuring/use_gqm.md.tmp ./measuring/use_gqm.md
- run: sh ./scripts/gqm_gen/gqm_commit.sh
- name : Commit GQM Diagram
working-directory: ./measuring
run: |
git config --local user.name "github-actions[bot]"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add .
git diff --staged --quiet || (git commit -m "Update Goals Questions Metrics Graph" && git push)
12 changes: 0 additions & 12 deletions scripts/gqm_gen/gqm_commit.sh

This file was deleted.

0 comments on commit 2bd2789

Please sign in to comment.