File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
actions/reload-dev-portal Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ inputs:
2020 description : ' Revalidate token'
2121 required : true
2222 type : string
23+ bot-bypass-token :
24+ description : ' Bot bypass token'
25+ required : true
26+ type : string
2327
2428runs :
2529 using : " composite"
7377 env :
7478 url : ' https://developer.hashicorp.com/api/revalidate/paths'
7579 auth : ' Authorization: Bearer ${{ inputs.revalidate-token }}'
76- bot-bypass : ' ${{ secrets.DEVELOPER_BOT_BYPASS_TOKEN }}'
80+ bot-bypass : ' ${{ inputs.bot-bypass-token }}'
7781 run : |
7882 curl -X POST "${{ env.url }}" \
7983 -H "${{ env.auth }}" \
Original file line number Diff line number Diff line change 5858 head_sha : ${{ github.event.after }}
5959 dev-portal-deploy-hook-prod : ${{ secrets.DEV_PORTAL_DEPLOY_HOOK_PROD }}
6060 revalidate-token : ${{ secrets.REVALIDATE_TOKEN }}
61+ bot-bypass-token : ${{ secrets.DEVELOPER_BOT_BYPASS_TOKEN }}
Original file line number Diff line number Diff line change 3131 head_sha : ${{ inputs.head_sha }}
3232 dev-portal-deploy-hook-prod : ${{ secrets.DEV_PORTAL_DEPLOY_HOOK_PROD }}
3333 revalidate-token : ${{ secrets.REVALIDATE_TOKEN }}
34+ bot-bypass-token : ${{ secrets.DEVELOPER_BOT_BYPASS_TOKEN }}
You can’t perform that action at this time.
0 commit comments