Use `github.event.client_payload.data.build_id`
@@ -16,7 +16,7 @@ jobs:
uses: dawidd6/action-delete-branch@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- branches: 'azure-wheel-test-${{ steps.date.outputs.date }}-against-${{ env.LIBTILEDB_SHA }}'
+ branches: "azure-wheel-test-${{ steps.date.outputs.date }}-against-${{ env.LIBTILEDB_SHA }}"
notify-fail:
if: github.event.action == 'failed'
@@ -27,7 +27,6 @@ jobs:
uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- AZURE_BUILD_ID: ${{ github.event.client_payload.build_id }}
+ AZURE_BUILD_ID: ${{ github.event.client_payload.data.build_id }}
with:
filename: .github/workflows/issue-if-azure-fail-template.md
-
