mirror of
https://github.com/swc-project/swc.git
synced 2024-12-29 00:23:10 +03:00
chore(ci): Don't use push action
This commit is contained in:
parent
ceb025b735
commit
b197eb65af
14
.github/workflows/crate-version-management.yml
vendored
14
.github/workflows/crate-version-management.yml
vendored
@ -15,6 +15,8 @@ jobs:
|
||||
bump:
|
||||
name: Bump version
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@ -48,8 +50,8 @@ jobs:
|
||||
|
||||
- name: Configure git
|
||||
run: |
|
||||
git config --local user.email "kdy1997.dev@gmail.com"
|
||||
git config --local user.name "swc[bot]"
|
||||
git config --global user.email "kdy1@users.noreply.github.com"
|
||||
git config --global user.name "swc[bot]"
|
||||
|
||||
- name: Add files
|
||||
run: |
|
||||
@ -59,8 +61,6 @@ jobs:
|
||||
run: |
|
||||
git commit -m 'chore: Bump version'
|
||||
|
||||
- name: Push back
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
github_token: ${{ secrets.GH_TOKEN }}
|
||||
branch: ${{ github.ref }}
|
||||
- name: Push
|
||||
run: |
|
||||
git push
|
||||
|
Loading…
Reference in New Issue
Block a user