Skip to content

Commit

Permalink
Remove "create-branch" workflow job.
Browse files Browse the repository at this point in the history
  • Loading branch information
junhaoliao committed Dec 27, 2024
1 parent b997a07 commit 57bebed
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/publish-to-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,24 +42,3 @@ jobs:
- run: "npm publish"
env:
NODE_AUTH_TOKEN: "${{secrets.NPM_TOKEN}}"

create-branch:
needs: ["publish-npm"]
runs-on: "ubuntu-latest"
permissions:
# For creating a new branch
contents: "write"
steps:
- uses: "actions/checkout@v4"
with:
fetch-depth: 0

- name: "Configure Git"
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: "Create and push branch"
run: |
git checkout -b "${{github.ref_name}}"
git push origin "refs/heads/${{github.ref_name}}"

0 comments on commit 57bebed

Please sign in to comment.