Skip to content

Commit

Permalink
Tweak workflow for holochain update
Browse files Browse the repository at this point in the history
  • Loading branch information
ThetaSinner committed Jul 10, 2024
1 parent 128002c commit 554b83f
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/holochain-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,27 +22,23 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.branch }}
ref: ${{ github.event.inputs.branch }}
- uses: cachix/install-nix-action@v27
with:
install_url: https://releases.nixos.org/nix/nix-2.23.2/install
- name: Configure Git
run: |
./scripts/ci-git-config.sh
- name: Run the update script
env:
GH_TOKEN: ${{ secrets.HRA_GITHUB_TOKEN }}
run: |
./scripts/bump-holochain.sh
git add flake.nix flake.lock
- name: Create pull request
id: cpr
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.HRA_GITHUB_TOKEN }}
committer: "Holochain Release Automation <[email protected]>"
title: "Update Holochain version in Holonix on ${{ inputs.branch }}"
branch: holonix-update/${{ inputs.branch }}
title: "Update Holochain version in Holonix on ${{ github.event.inputs.branch }}"
branch: holonix-update/${{ github.event.inputs.branch }}
draft: false
delete-branch: true
- name: Enable auto-merge
Expand Down

0 comments on commit 554b83f

Please sign in to comment.