Skip to content

Commit

Permalink
Use auto-pr by using new action
Browse files Browse the repository at this point in the history
  • Loading branch information
donhardman committed May 31, 2024
1 parent 460c43e commit 5833619
Showing 1 changed file with 4 additions and 23 deletions.
27 changes: 4 additions & 23 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -848,28 +848,9 @@ jobs:
- deploy
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
repository: "manticoresoftware/manticoresearch"
token: ${{ secrets.GITHUB_TOKEN }}

- name: Update deps.txt
id: deps
run: |
version=${{ needs.vars.outputs.app_version }}
date=${{ needs.vars.outputs.app_date }}
commit=${{ needs.vars.outputs.app_commit }}
version_string="$version $date $commit"
echo "version_string=${version_string// /-}" >> $GITHUB_OUTPUT
sed -i '/^executor\s/c\executor '"$version_string" deps.txt
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
- name: Update deps
uses: manticoresoftware/manticoresearch/actions/update-deps@master
with:
name: executor
version: "${{ needs.vars.outputs.app_version }} ${{ needs.vars.outputs.app_date }} ${{ needs.vars.outputs.app_commit }}"
token: ${{ secrets.PR_TOKEN }}
commit-message: "Bump executor version to: ${{ steps.deps.outputs.version_string }}"
title: "Update executor version"
body: "Updating executor version to ${{ steps.deps.outputs.version_string }}"
branch: "update-executor-version"
draft: false

0 comments on commit 5833619

Please sign in to comment.