Skip to content

Commit

Permalink
forgot action env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
droserasprout committed Feb 4, 2024
1 parent 7946200 commit fe7fa42
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/octez_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,15 @@ jobs:

- name: Create a PR for new version
if: success()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
export OCTEZ_VERSION=$(cat octez_version)
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git branch -D octez-$OCTEZ_VERSION
git checkout -b octez-$OCTEZ_VERSION
git add .
git commit -m "Update Octez binaries to $OCTEZ_VERSION"
git push origin octez-$OCTEZ_VERSION
git push --force origin octez-$OCTEZ_VERSION
gh pr create --title "Update Octez binaries to $OCTEZ_VERSION" --body "This PR updates the Octez binaries to the latest version $OCTEZ_VERSION" --base master --head octez-$OCTEZ_VERSION

0 comments on commit fe7fa42

Please sign in to comment.