Skip to content

Commit 4bb9edd

Browse files
committed
fix: update branch reference in GitHub Actions workflow
1 parent fd3a61a commit 4bb9edd

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/distribute.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
if: github.event.inputs.autoTag == 'true'
5656
uses: EndBug/add-and-commit@v5
5757
with:
58-
branch: master
58+
branch: ${{ github.ref_name }}
5959
author_name: Github bot
6060
author_email: elmehdi.sakout@gmail.com
6161
message: 'Bump manifest version'
@@ -66,8 +66,6 @@ jobs:
6666
runs-on: ubuntu-latest
6767
steps:
6868
- uses: actions/checkout@v4
69-
with:
70-
ref: master
7169
- uses: actions/cache@v4
7270
with:
7371
path: '**/node_modules'
@@ -93,8 +91,6 @@ jobs:
9391
runs-on: ubuntu-latest
9492
steps:
9593
- uses: actions/checkout@v4
96-
with:
97-
ref: master
9894
- uses: actions/cache@v4
9995
with:
10096
path: '**/node_modules'

0 commit comments

Comments
 (0)