Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on:
push:
branches:
- master
- main
pull_request:
schedule:
- cron: "0 0 * * *"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/commit-sqlx-changes.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on:
pull_request_target:
branches:
- master
- main
types: [closed]

env:
Expand Down Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Ensure repository is up to date
run: |
git fetch origin
git rebase origin/master
git rebase origin/main

- name: install `just`
run: sudo snap install --edge --classic just
Expand All @@ -59,11 +59,11 @@ jobs:
- name: run database migrations
run: cargo sqlx migrate run --database-url $DOCSRS_DATABASE_URL

- name: Commit sqlx changes on master branch if any
- name: Commit sqlx changes on main branch if any
id: sqlx_check
run: |
just sqlx-prepare
# If there are differences in the SQLX files, then we push them on the master branch
# If there are differences in the SQLX files, then we push them on the main branch
if git status --porcelain .sqlx ; then
echo "need_pr=1" >> "$GITHUB_OUTPUT"
else
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy Dev
on:
push:
branches:
- master
- main

jobs:
docker:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Docker
on:
push:
branches:
- master
- main
pull_request:
schedule:
- cron: "0 0 * * *"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tag-merged-pr.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on:
pull_request_target:
branches:
- master
- main
types: [closed]

permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tag-new-pr.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on:
pull_request_target:
branches:
- master
- main
types: [opened, reopened, review_requested]

permissions:
Expand Down
Loading