From a39e7d2a9df7bbad596c1b9569a54cd743209277 Mon Sep 17 00:00:00 2001 From: Tomas Psota Date: Thu, 11 Jun 2026 09:05:30 +0200 Subject: [PATCH] Add workflow to verify dSYMs.zip is attached on release PRs Fails CI if a PR with the 'release' label is missing a dSYMs.zip attachment in its description. Co-authored-by: Cursor --- .github/workflows/check-dsyms.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/check-dsyms.yml diff --git a/.github/workflows/check-dsyms.yml b/.github/workflows/check-dsyms.yml new file mode 100644 index 0000000..e7dad26 --- /dev/null +++ b/.github/workflows/check-dsyms.yml @@ -0,0 +1,22 @@ +name: Check dSYMs attachment + +on: + pull_request: + types: [labeled, edited] + +jobs: + check-dsyms: + name: Verify dSYMs.zip is attached + if: contains(github.event.pull_request.labels.*.name, 'release') + runs-on: ubuntu-latest + steps: + - name: Check dSYMs.zip in PR description + env: + PR_BODY: ${{ github.event.pull_request.body }} + run: | + if echo "$PR_BODY" | grep -qE 'https://[^ )]*dSYMs\.zip'; then + echo "dSYMs.zip found in PR description." + else + echo "::error::dSYMs.zip is not attached in the PR description. Please attach the dSYMs.zip file before merging." + exit 1 + fi