Skip to content
2 changes: 1 addition & 1 deletion .github/workflows/lint-and-format.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Lint and Format
on:
pull_request:
pull_request_target:
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is actually safer to use when dealing with forked repos apparently https://dev.to/suzukishunsuke/secure-github-actions-by-pullrequesttarget-641

branches:
- main

Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: Tests / Backend
on:
pull_request:
pull_request_target:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
postgres-container:
runs-on: ubuntu-latest
Expand Down