This repository was archived by the owner on May 8, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 2828 - name : Dispatch init event
2929 run : |
3030 REPO_NAME=${{ secrets.INTERNAL_REPO_NAME }}
31+ STATUSES_HREF=https://api.github.com/repos/$REPO_NAME/statuses/${{ github.event.head_commit.id }}
3132 curl -X POST https://api.github.com/repos/$REPO_NAME/dispatches \
3233 -H 'Accept: application/vnd.github.everest-preview+json' \
3334 -u ${{ secrets.ACCESS_TOKEN }} \
3738 "event_type": "RELEASE",
3839 "client_payload": {
3940 "ref": "${{ github.ref }}",
40- "statuses_href": "https://api.github.com/repos/$REPO_NAME/statuses/${{ github.event.head_commit.id }} "
41+ "statuses_href": "'"$STATUSES_HREF"' "
4142 }
4243 }'
Original file line number Diff line number Diff line change 2828 - name : Dispatch init event
2929 run : |
3030 REPO_NAME=${{ secrets.INTERNAL_REPO_NAME }}
31+ STATUSES_HREF=https://api.github.com/repos/$REPO_NAME/statuses/${{ github.event.head_commit.id }}
3132 curl -X POST https://api.github.com/repos/$REPO_NAME/dispatches \
3233 -H 'Accept: application/vnd.github.everest-preview+json' \
3334 -u ${{ secrets.ACCESS_TOKEN }} \
3738 "event_type": "TAG",
3839 "client_payload": {
3940 "ref": "${{ github.ref }}",
40- "statuses_href": "https://api.github.com/repos/$REPO_NAME/statuses/${{ github.event.head_commit.id }} "
41+ "statuses_href": "'"$STATUSES_HREF"' "
4142 }
4243 }'
You can’t perform that action at this time.
0 commit comments