Skip to content

Commit

Permalink
Update version-update.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
khleomix authored Aug 26, 2024
1 parent f345451 commit e15afe8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/version-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,19 @@ jobs:
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Create a new branch for the version update
env:
BRANCH_NAME: version-update-$(date +%s)
run: |
git checkout -b version-update-$(date +%s)
git checkout -b $BRANCH_NAME
git add .env style.css package.json composer.json
git commit -m "Automated version update after merge to main"
git push origin version-update-$(date +%s)
git push origin $BRANCH_NAME
- name: Create a Pull Request
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: version-update-$(date +%s)
branch: ${{ env.BRANCH_NAME }}
title: "Automated Version Update"
body: "This pull request contains the automated version and build updates."
base: main

0 comments on commit e15afe8

Please sign in to comment.