Update README and GitHub Actions workflow for issue metrics management

This commit is contained in:
mr. M
2024-12-22 00:34:02 +01:00
parent 23c5a0d8eb
commit d2ead4ccbe
4 changed files with 11 additions and 4240 deletions

View File

@@ -37,6 +37,7 @@ jobs:
echo "$first_day..$last_day"
echo "last_month=$first_day..$last_day" >> "$GITHUB_ENV"
echo "last_month_year=$previous_year" >> "$GITHUB_ENV"
- name: Run issue-metrics tool
uses: github/issue-metrics@v2
@@ -44,6 +45,15 @@ jobs:
GH_TOKEN: ${{ secrets.DEPLOY_KEY }}
SEARCH_QUERY: 'repo:zen-browser/desktop is:issue created:${{ env.last_month }} -reason:"not planned"'
- name: Move metrics to docs folder
run: |
mkdir -p docs/issue-metrics
mv issue_metrics.md docs/issue-metrics/${{ env.last_month_year }}_${{ env.last_month }}.md
- name: Remove metrisc JSON
run: |
rm -f issue_metrics.json
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with: