Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include dfx version in update PR title #294

Merged
merged 3 commits into from
Dec 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/update-dfx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
echo An update is available for dfx.
git diff
echo "updated=1" >> "$GITHUB_OUTPUT"
echo "title=Update dfx to version $latest_dfx_version" >> "$GITHUB_OUTPUT"
else
echo "updated=0" >> "$GITHUB_OUTPUT"
fi
Expand All @@ -48,12 +49,13 @@ jobs:
add-paths: |
dfx.json
dfx.json.original
commit-message: Update dfx version
commit-message: ${{ steps.update.outputs.title }}
committer: GitHub <noreply@github.com>
author: gix-bot <gix-bot@users.noreply.github.com>
branch: bot-dfx-update
branch-suffix: timestamp
delete-branch: true
title: 'Update dfx version'
title: ${{ steps.update.outputs.title }}
# Since the this is a scheduled job, a failure won't be shown on any
# PR status. To notify the team, we send a message to our Slack channel on failure.
- name: Notify Slack on failure
Expand Down