File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 1515
1616 - name : Add INPUT_SHA env var
1717 run : |
18- export INPUT_SHA=$(git rev-parse ${{ github.event.inputs. ref }})
18+ export INPUT_SHA=$(git rev-parse ${{ github.ref }})
1919 echo "INPUT_SHA=`echo $INPUT_SHA`" >> $GITHUB_ENV
2020
2121 - name : Install Node ${{ env.NODE_VERSION }}
@@ -73,16 +73,14 @@ jobs:
7373 aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
7474
7575 - name : Install branch-github-actions
76- if : ${{ github.ref == 'refs/heads/master' }}
7776 uses : actions/checkout@v4
7877 with :
7978 repository : BranchMetrics/branch-github-actions
8079 ref : master
8180 path : .branch-github-actions
82- token : ${{ secrets.BRANCHLET_ACCESS_TOKEN }}
81+ token : ${{ secrets.BRANCHLET_ACCESS_TOKEN_PUBLIC }}
8382
8483 - name : Get next release version
85- if : ${{ github.ref == 'refs/heads/master' }}
8684 uses : actions/github-script@v7
8785 id : next-version
8886 with :
Original file line number Diff line number Diff line change 3737 repository : BranchMetrics/branch-github-actions
3838 ref : master
3939 path : .branch-github-actions
40- token : ${{ secrets.BRANCHLET_ACCESS_TOKEN }}
40+ token : ${{ secrets.BRANCHLET_ACCESS_TOKEN_PUBLIC }}
4141
4242 - name : Get next release version
4343 uses : actions/github-script@v7
You can’t perform that action at this time.
0 commit comments