Skip to content

Commit

Permalink
Add annotations after nuke and create certs
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornoleh committed Jan 9, 2025
1 parent 314cced commit f00a412
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/check_certs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,24 @@ jobs:
FASTLANE_KEY: ${{ secrets.FASTLANE_KEY }}
FASTLANE_SKIP_ALL_LANE_SUMMARIES: "true"

- name: Annotate Summary after Nuke
run: |
echo "::warning::Certificates have been nuked. All TestFlight profiles are revoked."
echo "::notice::Run the 'Create Certificates' workflow for each dependent app to rebuild profiles."

# Trigger create_certs.yml if nuke_certs ran
trigger_create_certs:
needs: [check_certs, nuke_certs]
uses: ./.github/workflows/create_certs.yml
secrets: inherit

# Annotate Summary after Certificate Creation
annotate_summary:
needs: trigger_create_certs
runs-on: ubuntu-latest
steps:
- name: Annotate Summary
run: |
echo "::notice::Certificates have been recreated successfully."
echo "::warning::Make sure to test builds using the new certificates."

0 comments on commit f00a412

Please sign in to comment.