File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
actions/check_if_latest_release Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 11name : check_if_latest_release
22inputs :
3+ token :
4+ description : " Github API token"
35runs :
46 using : composite
57 steps :
68 - name : Push Bundle to MRT
79 id : release
810 run : |-
9- RELEASE_JSON=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
11+ RELEASE_JSON=$(curl -s -H "Authorization: token ${{ inputs.token }}" \
1012 "https://api.github.com/repos/${{ github.repository }}/releases/latest")
1113
1214 LATEST_TAG_NAME=$(echo "$RELEASE_JSON" | jq -r '.tag_name')
Original file line number Diff line number Diff line change 1717
1818 - name : Check if latest release
1919 uses : ./.github/actions/check_if_latest_release
20+ with :
21+ token : ${{ secrets.GITHUB_TOKEN }}
2022
2123 deploy-bug-bounty :
2224 needs : check-latest-release
You can’t perform that action at this time.
0 commit comments