mirror of
https://github.com/zen-browser/desktop.git
synced 2025-12-25 07:38:55 +00:00
Update README and GitHub Actions workflow for issue metrics management
This commit is contained in:
10
.github/workflows/issue-metrics.yml
vendored
10
.github/workflows/issue-metrics.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user