Skip to content

Releases: getsentry/github-workflows

3.0.0

24 Sep 18:18
Compare
Choose a tag to compare

Breaking Changes

  • Updater: The default value for pr-strategy has been changed from create to update. (#124)
    This change means the updater will now maintain a single PR that gets updated with new dependency versions (instead of creating separate PRs for each version).
    If you want to preserve the previous behavior of creating separate PRs, explicitly set pr-strategy: create in your workflow:

    - uses: getsentry/github-workflows/updater@v3
      with:
        # ... other inputs ...
        pr-strategy: create  # Add this to preserve previous behavior

    In case you have existing open PRs created with the create strategy, you will need to remove these old branches
    manually as the new name would be a prefix of the old PRs, which git doesnt' allow.

  • Updater and Danger reusable workflows are now composite actions (#114)

    To update your existing Updater workflows:

    ### Before
      native:
        uses: getsentry/github-workflows/.github/workflows/updater.yml@v2
        with:
          path: scripts/update-sentry-native-ndk.sh
          name: Native SDK
        secrets:
          # If a custom token is used instead, a CI would be triggered on a created PR.
          api-token: ${{ secrets.CI_DEPLOY_KEY }}
    
    ### After
      native:
        runs-on: ubuntu-latest
        steps:
          - uses: getsentry/github-workflows/updater@v3
            with:
              path: scripts/update-sentry-native-ndk.sh
              name: Native SDK
              api-token: ${{ secrets.CI_DEPLOY_KEY }}

    To update your existing Danger workflows:

    ### Before
      danger:
        uses: getsentry/github-workflows/.github/workflows/danger.yml@v2
    
    ### After
      danger:
        runs-on: ubuntu-latest
        steps:
          - uses: getsentry/github-workflows/danger@v3

Features

  • Updater now supports targeting non-default branches via the new target-branch input parameter (#118)
  • Updater now supports filtering releases by GitHub release title patterns, e.g. to support release channels (#117)
  • Updater now supports dependencies without changelog files by falling back to git commit messages (#116)
  • Danger - Improve conventional commit scope handling, and non-conventional PR title support (#105)
  • Add Proguard artifact endpoint for Android builds in sentry-server (#100)
  • Updater - Add CMake FetchContent support for automated dependency updates (#104)

Security

  • Updater - Prevent script injection vulnerabilities through workflow inputs (#98)

Fixes

  • Updater - Fix null reference error when changelog has no existing bullet points (#125)
  • Updater - Fix bullet-point resolution when plain text precedes bullet points (#123)
  • Improve changelog generation for non-tagged commits and edge cases (#115)
  • Use GITHUB_WORKFLOW_REF instead of _workflow_version input parameter to automatically determine workflow script versions (#109)

2.13.1

11 Aug 08:07
1949ea0
Compare
Choose a tag to compare

Fixes

  • Updater - invalid workflow syntax - reverts recent switch to env vars (#97)

2.13.0

08 Aug 16:58
f011713
Compare
Choose a tag to compare

Features

  • Danger - Changelog checks can now additionally be skipped with a skip-changelog label (#94)

2.12.0

01 Jun 17:41
07ab1b7
Compare
Choose a tag to compare

Features

  • Gzip-compressed HTTP requests (#88)

Fixes

  • Don't update from a manually-updated prerelease to a latest stable release that is earlier than the prerelease (#78)
  • Cross-repo links in changelog notes (#82)
  • Truncate changelog to nearest SemVer even if actual previous version is missing (#84)

2.11.1

07 Feb 14:43
cd1c852
Compare
Choose a tag to compare

Fixes

  • Don't update from a manually-updated prerelease to a latest stable release that is earlier than the prerelease (#78)
  • Cross-repo links in changelog notes (#82)
  • Truncate changelog to nearest SemVer even if actual previous version is missing (#84)

2.11.0

17 Oct 05:36
7f18300
Compare
Choose a tag to compare

Features

  • Add support for prettier-ignore notes on CHANGELOG.md (#75)

Example of notes before ## Unreleased Header on CHANGELOG.md

Important

If you are upgrading to the 1.x versions of the Sentry SDK from 0.x or below,
make sure you follow our migration guide first.

2.10.0

05 Mar 09:37
Compare
Choose a tag to compare

Changes

  • Remove octokit/request-action dependency in favor of using gh api (#74)

Fixes

  • Bump updater action dependency to fix an issue when creating/updating a PR (#71)

Dependencies

  • Bump actions/checkout from v3 to v4 (#72)
  • Bump styfle/cancel-workflow-action from v0.12.0 to v0.12.1 (#73)

2.9.1

11 Feb 12:40
a2914e2
Compare
Choose a tag to compare

Fixes

  • Danger - fix pinned action check if the ref is at the end of the file (#70)

2.9.0

25 Jan 15:57
Compare
Choose a tag to compare

Fixes

  • Danger - recognize PR links based on full URL instead of just the PR number. (#68)

Dependencies

  • Bump danger/danger-js from v11.1.2 to v11.3.1 (#59)

2.8.1

07 Dec 14:49
b1970e1
Compare
Choose a tag to compare

Fixes

  • Sentry-CLI integration test - set server script root so assets access works. (#63)