potiuk commented on code in PR #64044:
URL: https://github.com/apache/airflow/pull/64044#discussion_r2970214175
##########
.github/workflows/ci-amd-arm.yml:
##########
@@ -966,11 +966,15 @@ jobs:
- name: "Determine notification action"
id: notification
shell: bash
- run: python3 scripts/ci/slack_notification_state.py
+ run: |
+ command -v gh >/dev/null 2>&1 || { echo "::error::gh CLI is not
installed"; exit 1; }
+ gh auth status || gh auth login --with-token <<< "${GITHUB_TOKEN}"
+ python3 scripts/ci/slack_notification_state.py
env:
ARTIFACT_NAME: "slack-state-tests-${{ github.ref_name }}"
CURRENT_FAILURES: "${{ steps.get-failures.outputs.failed-jobs }}"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Review Comment:
Yep.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]