Skip to content

fix(surveys): only wait for feature flags on surveys that repeat #5689

fix(surveys): only wait for feature flags on surveys that repeat

fix(surveys): only wait for feature flags on surveys that repeat #5689

name: Auto update changeset
on: pull_request
jobs:
changeset:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' && github.event.pull_request.head.repo.full_name == github.repository }}
permissions:
contents: read
steps:
- name: Get app token
id: app-token
uses: getsentry/action-github-app-token@5c1e90706fe007857338ac1bfbd7a4177db2f789 # v4.0.0
with:
app_id: ${{ secrets.GH_APP_POSTHOG_JS_TESTS_APP_ID }}
private_key: ${{ secrets.GH_APP_POSTHOG_JS_TESTS_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
token: ${{ steps.app-token.outputs.token }}
- name: Generate changeset
uses: the-guild-org/changesets-dependencies-action@f11b16181c79e07d62b112c2f32c9db534a9df09 # v1.2.2
env:
# this commits to the branch so we can't use the default GITHUB_TOKEN, otherwise Actions won't trigger
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}