diff --git a/.github/workflows/upstream-tracker.yml b/.github/workflows/upstream-tracker.yml index 198d3cf18..ddb330908 100644 --- a/.github/workflows/upstream-tracker.yml +++ b/.github/workflows/upstream-tracker.yml @@ -5,7 +5,7 @@ on: - cron: '0 0 * * 1' # check monday at midnight UTC jobs: - SIMD-Update-Checker: + Solana-Update-Checker: runs-on: ubuntu-latest steps: - name: Check For Updates In Past Week @@ -24,7 +24,7 @@ jobs: # updates to anza-xyz/agave wiki (contains feature gate updates + release schedules) git clone https://github.com/anza-xyz/agave.wiki.git cd agave.wiki - WIKI=$(git whatchanged --since="7 days ago" -p 2>&1) + printf -v WIKI "%q" $(git diff $(git log --since="7 days ago" --pretty=format:"%h" | tail -1)^..HEAD) echo "open<> $GITHUB_OUTPUT echo "$OPEN" >> $GITHUB_OUTPUT @@ -44,4 +44,17 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # TODO: update assignee to teams when GH supports it - run: gh issue create -a aalu1418 -t "Upstream Updates - $(date)" -l "[auto] Upstream Updates" -b $'## SIMD\n### Opened\n${{ steps.updates.outputs.open }}\n\n### Closed\n${{ steps.updates.outputs.closed }}\n## Agave Wiki ```diff\n${{ steps.updates.outputs.wiki }}\n```' + run: | + { + echo "## SIMD"; + echo "### Opened"; + echo "${{ steps.updates.outputs.open }}"; + echo "### Closed"; + echo "${{ steps.updates.outputs.closed }}"; + echo "## Agave Wiki"; + echo "\`\`\`diff"; + echo "${{ steps.updates.outputs.wiki }}"; + echo "\`\`\`"; + } >> output.md + + gh issue create -a aalu1418 -t "Upstream Updates - $(date)" -l "[auto] Upstream Updates" -F output.md