-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feat/actions-webhooks-v2
- Loading branch information
Showing
978 changed files
with
19,192 additions
and
14,134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -197,22 +197,33 @@ jobs: | |
sudo apt-get update | ||
sudo apt-get install libxml2-dev libxmlsec1-dev libxmlsec1-openssl | ||
- name: Install python dependencies | ||
run: | | ||
uv pip install --system -r requirements.txt -r requirements-dev.txt | ||
# First running migrations from master, to simulate the real-world scenario | ||
|
||
- uses: actions/checkout@v3 | ||
- name: Checkout master | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: master | ||
|
||
- name: Run migrations up to master | ||
- name: Install python dependencies for master | ||
run: | | ||
# We need to ensure we have requirements for the master branch | ||
# now also, so we can run migrations up to master. | ||
uv pip install --system -r requirements.txt -r requirements-dev.txt | ||
- name: Run migrations up to master | ||
run: | | ||
python manage.py migrate | ||
- uses: actions/checkout@v3 | ||
# Now we can consider this PR's migrations | ||
|
||
- name: Checkout this PR | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install python dependencies for this PR | ||
run: | | ||
uv pip install --system -r requirements.txt -r requirements-dev.txt | ||
- name: Run migrations for this PR | ||
run: | | ||
python manage.py migrate | ||
- name: Check migrations | ||
run: | | ||
|
@@ -406,6 +417,7 @@ jobs: | |
echo running_time_run_id=${run_id} >> $GITHUB_ENV | ||
echo running_time_run_started_at=${run_started_at} >> $GITHUB_ENV | ||
- name: Capture running time to PostHog | ||
if: github.repository == 'PostHog/posthog' | ||
uses: PostHog/[email protected] | ||
with: | ||
posthog-token: ${{secrets.POSTHOG_API_TOKEN}} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -305,6 +305,7 @@ jobs: | |
echo running_time_run_id=${run_id} >> $GITHUB_ENV | ||
echo running_time_run_started_at=${run_started_at} >> $GITHUB_ENV | ||
- name: Capture running time to PostHog | ||
if: github.repository == 'PostHog/posthog' | ||
uses: PostHog/[email protected] | ||
with: | ||
posthog-token: ${{secrets.POSTHOG_API_TOKEN}} | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ jobs: | |
echo is_revert=false >> $GITHUB_ENV | ||
fi | ||
- name: Capture PR age to PostHog | ||
if: github.repository == 'PostHog/posthog' | ||
uses: PostHog/[email protected] | ||
with: | ||
posthog-token: ${{secrets.POSTHOG_API_TOKEN}} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.