Skip to content

Commit

Permalink
testing commit signing
Browse files Browse the repository at this point in the history
  • Loading branch information
aalu1418 committed Feb 15, 2024
1 parent b80c70e commit 17f004f
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/dependency-updates.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: DependencyUpdater
on:
push: # TODO: remove
workflow_dispatch:
schedule:
- cron: '0 0 * * *' # check every day at midnight UTC
Expand All @@ -15,14 +16,21 @@ jobs:
make upgrade-e2e-solana-image
image=$(curl https://api.github.com/repos/solana-labs/solana/releases/latest | jq -r '.tag_name')
echo "image=$image" >> "$GITHUB_OUTPUT"
- uses: planetscale/[email protected]
with:
commit_message: "[automated] bump solana dependencies"
repo: ${{ github.repository }}
branch: "bump/solana-${{ steps.solImage.outputs.image }}-test" # TODO: remove suffix
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Check if PR exists
id: check
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
prs=$(gh pr list \
--repo "$GITHUB_REPOSITORY" \
--head "bump/solana-${{ steps.solImage.outputs.image }}" \
--head "bump/solana-${{ steps.solImage.outputs.image }}-test" \ # TODO: remove suffix
--json title \
--jq 'length')
if ((prs > 0)); then
Expand All @@ -33,10 +41,9 @@ jobs:
uses: peter-evans/create-pull-request@b1ddad2c994a25fbc81a28b3ec0e368bb2021c50 # v6.0.0
with:
title: "[automated] bump solana image to ${{ steps.solImage.outputs.image }}"
branch: bump/solana-${{ steps.solImage.outputs.image }}
author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
branch: bump/solana-${{ steps.solImage.outputs.image }}-test # TODO: remove suffix
# author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
reviewers: aalu1418
commit-message: "[automated] bump solana dependencies"
body: |
Latest Solana mainnet release is [\"${{ steps.solImage.outputs.image }}\"](https://github.com/solana-labs/solana/releases/latest)
(run CI by closing + reopening PR)
Expand Down

0 comments on commit 17f004f

Please sign in to comment.