diff --git a/.github/workflows/dependency-updates.yml b/.github/workflows/dependency-updates.yml index 52ac166c6..e7219013d 100644 --- a/.github/workflows/dependency-updates.yml +++ b/.github/workflows/dependency-updates.yml @@ -16,7 +16,7 @@ jobs: # outputs echo "name=bump/solana-$image" >> "$GITHUB_OUTPUT" echo "prTitle=[automated] bump solana image to $image" >> "$GITHUB_OUTPUT" - echo "prBody=(run CI by closing + reopening PR) Latest Solana mainnet release is [$image](https://github.com/solana-labs/solana/releases/latest)" >> "$GITHUB_OUTPUT" + echo "prBody=Latest Solana mainnet release is [$image](https://github.com/solana-labs/solana/releases/latest)" >> "$GITHUB_OUTPUT" echo "commitString=[automated] bump solana dependencies" >> "$GITHUB_OUTPUT" secrets: inherit E2E-Testing-Dependencies: @@ -48,6 +48,6 @@ jobs: # outputs echo "name=bump/e2e-deps-$coreVersion" >> "$GITHUB_OUTPUT" echo "prTitle=[automated] bump e2e test deps to match chainlink/integration-tests" >> "$GITHUB_OUTPUT" - echo "prBody=(run CI by closing + reopening PR) chainlink/integration-tests uses chainlink-testing-framework@$coreVersion" >> "$GITHUB_OUTPUT" + echo "prBody=chainlink/integration-tests uses chainlink-testing-framework@$coreVersion" >> "$GITHUB_OUTPUT" echo "commitString=[automated] bump e2e <> core/integration-tests dependencies" >> "$GITHUB_OUTPUT" secrets: inherit diff --git a/.github/workflows/upstream-tracker.yml b/.github/workflows/upstream-tracker.yml new file mode 100644 index 000000000..4c068f603 --- /dev/null +++ b/.github/workflows/upstream-tracker.yml @@ -0,0 +1,33 @@ +name: UpstreamTracker +on: + workflow_dispatch: + schedule: + - cron: '0 0 * * 1' # check monday at midnight UTC + +jobs: + SIMD-Update-Checker: + runs-on: ubuntu-latest + steps: + - name: Check For Updates In Past Week + id: updates + run: | + # new PRs + OPEN=$(curl https://api.github.com/repos/solana-foundation/solana-improvement-documents/pulls\?state=open\&per_page=100 | jq --arg t "$(date -d '7 days ago' +%s)" -r '.[] | select (.created_at | . == null or fromdateiso8601 > ($t|tonumber)) | "- \(.html_url)"') + # macos + # OPEN=$(curl https://api.github.com/repos/solana-foundation/solana-improvement-documents/pulls\?state\=open\&per_page\=100 | jq --arg t "$(date -v-7d +%s)" -r '.[] | select (.created_at | . == null or fromdateiso8601 > ($t|tonumber)) | "- \(.html_url)"') + + # closed PRs + CLOSED=$(curl https://api.github.com/repos/solana-foundation/solana-improvement-documents/pulls\?state=closed\&per_page=100 | jq --arg t "$(date -d '7 days ago' +%s)" -r '.[] | select (.created_at | . == null or fromdateiso8601 > ($t|tonumber)) | "- \(.html_url)"') + # macos + # CLOSED=$(curl https://api.github.com/repos/solana-foundation/solana-improvement-documents/pulls\?state\=closed\&per_page\=100 | jq --arg t "$(date -v-7d +%s)" -r '.[] | select (.created_at | . == null or fromdateiso8601 > ($t|tonumber)) | "- \(.html_url)"') + + echo "open=$OPEN" >> "$GITHUB_OUTPUT" + echo "closed=$CLOSED" >> "$GITHUB_OUTPUT" + - uses: actions/checkout@v3 + if: steps.updates.outputs.open || steps.updates.outputs.closed + - name: Open Issue + if: steps.updates.outputs.open || steps.updates.outputs.closed + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # TODO: update tagged to team + run: gh issue create -a aalu1418 -t "SIMD Updates - $(date)" -l "[auto] SIMD Updates" -b $'## Opened\n${{ steps.updates.outputs.open}}\n\n## Closed\n${{ steps.updates.outputs.closed}}'