File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1313 steps :
1414 - uses : actions/checkout@v4
1515
16- - name : Add INPUT_SHA env var
17- run : |
18- export INPUT_SHA=$(git rev-parse ${{ github.event.inputs.ref }})
19- echo "INPUT_SHA=`echo $INPUT_SHA`" >> $GITHUB_ENV
20-
2116 - name : Install Node ${{ env.NODE_VERSION }}
2217 uses : actions/setup-node@v3
2318 with :
7974 repository : BranchMetrics/branch-github-actions
8075 ref : master
8176 path : .branch-github-actions
82- token : ${{ secrets.BRANCHLET_ACCESS_TOKEN }}
77+ token : ${{ secrets.BRANCHLET_ACCESS_TOKEN_PUBLIC }}
78+
79+ - name : Add INPUT_SHA env var
80+ if : ${{ github.ref == 'refs/heads/master' }}
81+ run : |
82+ export INPUT_SHA=$(git rev-parse ${{ github.ref }})
83+ echo "INPUT_SHA=`echo $INPUT_SHA`" >> $GITHUB_ENV
8384
8485 - name : Get next release version
8586 if : ${{ github.ref == 'refs/heads/master' }}
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