Skip to content

Commit

Permalink
feat: reflect failures in pre-release title
Browse files Browse the repository at this point in the history
  • Loading branch information
sigilioso committed Apr 8, 2024
1 parent 07fea48 commit 06af967
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/reusable_pre_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ on:
required: true
COREINT_SLACK_CHANNEL:
required: true
COREINT_BOT_TOKEN:
required: true

env:
# Build scripts inputs are mixed between this env vars and config args.
Expand Down Expand Up @@ -222,3 +224,9 @@ jobs:
slack-bot-user-oauth-access-token: ${{ secrets.COREINT_SLACK_TOKEN }}
slack-channel: ${{ secrets.COREINT_SLACK_CHANNEL }}
slack-text: "❌ `${{ github.event.repository.full_name }}`: [prerelease pipeline failed](${{ github.server_url }}/${{ github.event.repository.full_name }}/actions/runs/${{ github.run_id }})."
- uses: actions/checkout@v4
- name: Reflect failure in release title
env:
GH_TOKEN: "${{ COREINT_BOT_TOKEN }}"
run: |
gh release edit ${{ inputs.tag }} --title "${{ inputs.tag }} (not-ready)"

0 comments on commit 06af967

Please sign in to comment.