Skip to content

Commit

Permalink
fix yml
Browse files Browse the repository at this point in the history
  • Loading branch information
miya committed Dec 25, 2023
1 parent b4dc4ec commit 8e7ca09
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/create-rc-release-branch-scheduler-for-v7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,12 @@ jobs:
with:
ref: dev/7.0.x

- name: Commit
uses: actions-x/commit@v6
with:
name: GitHub Actions Autocommitter
token: ${{ secrets.GITHUB_TOKEN }}
branch: rc/${{ steps.set-current-datetime.outputs.CURRENT_DATETIME }}
message: 'empty commit to run Github actions'

- name: Create RC release branch
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit --allow-empty -m "empty commit to run release-rc.yml"
git checkout -b rc/${{ steps.set-current-datetime.outputs.CURRENT_DATETIME }}
git push --set-upstream origin rc/${{ steps.set-current-datetime.outputs.CURRENT_DATETIME }}

0 comments on commit 8e7ca09

Please sign in to comment.