File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 88 description : ' Create preview branches using this actions instead of "auto-build" feature on AWS Amplify'
99 required : false
1010 default : " false"
11+ delete_branches :
12+ description : ' Delete preview branches using this actions when PR is closed'
13+ required : false
14+ default : " false"
1115 github_token :
1216 required : true
1317 description : " Github token with permissions to read/write comments in pull request"
5155 run : echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
5256 id : extract_branch
5357
54- - uses : actions/setup-go@v5
58+ - uses : actions/setup-go@v6
5559 with :
5660 go-version-file : ${{ github.action_path }}/go.mod
5761 cache-dependency-path : ${{ steps.cache_workaround.outputs.go_sum_path }}
6266 AMPLIFY_APP_IDS : ${{ inputs.app_ids }}
6367 GIT_BRANCH_NAME : ${{ steps.extract_branch.outputs.branch }}
6468 CREATE_BRANCHES : ${{ inputs.create_branches }}
69+ DELETE_BRANCHES : ${{ inputs.delete_branches }}
6570 GITHUB_TOKEN : ${{ inputs.github_token }}
6671 WAIT : ${{ inputs.wait }}
6772 WAIT_RETRIES : ${{ inputs.wait_retries }}
You can’t perform that action at this time.
0 commit comments