-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ jobs: | |
if: '!steps.check.outputs.skip' | ||
run: | | ||
Check failure on line 35 in .github/workflows/dependency-updates.yml GitHub Actions / actionlint[actionlint] .github/workflows/dependency-updates.yml#L35
Raw output
Check failure on line 35 in .github/workflows/dependency-updates.yml GitHub Actions / actionlint[actionlint] .github/workflows/dependency-updates.yml#L35
Raw output
|
||
echo "original=${{ github.head_ref || github.ref_name }}" >> $GITHUB_OUTPUT | ||
git checkout -b "bump/solana-${{ steps.solImage.outputs.image }}-test" # TODO: remove suffix | ||
git branch "bump/solana-${{ steps.solImage.outputs.image }}-test" # TODO: remove suffix | ||
git push origin "bump/solana-${{ steps.solImage.outputs.image }}-test" # TODO: remove suffix | ||
- uses: planetscale/[email protected] | ||
if: '!steps.check.outputs.skip' | ||
|
@@ -44,19 +44,18 @@ jobs: | |
branch: "bump/solana-${{ steps.solImage.outputs.image }}-test" # TODO: remove suffix | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: "Pull branch from ghcommit push" | ||
- name: "Reset changes to prevent additional push to branch" | ||
if: '!steps.check.outputs.skip' | ||
run: | | ||
git branch --set-upstream-to=origin/bump/solana-${{ steps.solImage.outputs.image }}-test # TODO: remove prefix | ||
git pull | ||
git reset --hard | ||
- name: Create pull request | ||
if: '!steps.check.outputs.skip' | ||
uses: peter-evans/create-pull-request@b1ddad2c994a25fbc81a28b3ec0e368bb2021c50 # v6.0.0 | ||
with: | ||
title: "[automated] bump solana image to ${{ steps.solImage.outputs.image }}" | ||
base: ${{ steps.branch.outputs.original }} | ||
branch: bump/solana-${{ steps.solImage.outputs.image }}-test # TODO: remove suffix | ||
author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>" | ||
# author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>" | ||
reviewers: aalu1418 | ||
body: | | ||
Latest Solana mainnet release is [\"${{ steps.solImage.outputs.image }}\"](https://github.com/solana-labs/solana/releases/latest) | ||
|