Changesets · Branches · Tags · Compare
| Changeset | 6281fca304dcca9b969bbc377b54b0ae911b9923407aee10e0652818b94bfd0b |
|---|---|
| Author | Nate <sestinj@gmail.com> · 2025-05-10 10:33 -07:00 |
| Committer | Nate <sestinj@gmail.com> · 2025-05-10 10:33 -07:00 |
| Parents | c55965a9627b |
1 file changed
modified .github/workflows/metrics.yaml +10 −11
| @@ -33,23 +33,22 @@ | ||
| 33 | 33 | echo "$first_day..$last_day" |
| 34 | 34 | echo "last_month=$first_day..$last_day" >> "$GITHUB_ENV" |
| 35 | 35 | |
| 36 | - # - name: Run issue-metrics tool | |
| 37 | - # uses: github/issue-metrics@v3 | |
| 38 | - # env: | |
| 39 | - # GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| 40 | - # SEARCH_QUERY: 'repo:continuedev/continue created:${{ env.last_month }} -reason:"not planned"' | |
| 36 | + - name: Run issue-metrics tool | |
| 37 | + uses: github/issue-metrics@v3 | |
| 38 | + env: | |
| 39 | + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| 40 | + SEARCH_QUERY: 'repo:continuedev/continue created:${{ env.last_month }} -reason:"not planned"' | |
| 41 | 41 | |
| 42 | 42 | - name: Read metrics file content |
| 43 | 43 | id: read-metrics |
| 44 | 44 | run: | |
| 45 | - content=$(echo "abc") | |
| 45 | + content=$(cat ./issue_metrics.md) | |
| 46 | + # This prepares the content in a way that can be used in GitHub Actions | |
| 47 | + content="${content//'%'/'%25'}" | |
| 48 | + content="${content//$'\n'/'%0A'}" | |
| 49 | + # content="${content//$'\r'/'%0D'}" | |
| 46 | 50 | echo "metrics_content=$content" >> "$GITHUB_OUTPUT" |
| 47 | 51 | |
| 48 | - # content=$(cat ./issue_metrics.md) | |
| 49 | - # # This prepares the content in a way that can be used in GitHub Actions | |
| 50 | - # content="${content//'%'/'%25'}" | |
| 51 | - # content="${content//$'\n'/'%0A'}" | |
| 52 | - # content="${content//$'\r'/'%0D'}" | |
| 53 | 52 | - name: Post a message in a channel |
| 54 | 53 | uses: slackapi/slack-github-action@v2.1.0 |
| 55 | 54 | with: |