Elffuss BraidHub

kikocis/continue public

add back metrics step
Changeset6281fca304dcca9b969bbc377b54b0ae911b9923407aee10e0652818b94bfd0b
AuthorNate <sestinj@gmail.com> · 2025-05-10 10:33 -07:00
CommitterNate <sestinj@gmail.com> · 2025-05-10 10:33 -07:00
Parentsc55965a9627b

Browse the files at this changeset

1 file changed

modified .github/workflows/metrics.yaml +10 −11
@@ -33,23 +33,22 @@
3333 echo "$first_day..$last_day"
3434 echo "last_month=$first_day..$last_day" >> "$GITHUB_ENV"
3535
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"'
4141
4242 - name: Read metrics file content
4343 id: read-metrics
4444 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'}"
4650 echo "metrics_content=$content" >> "$GITHUB_OUTPUT"
4751
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'}"
5352 - name: Post a message in a channel
5453 uses: slackapi/slack-github-action@v2.1.0
5554 with: