Skip to content

Commit

Permalink
ci: allow running tests and semantic checks on external prs (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
miri-bar authored Jul 4, 2024
1 parent fe24518 commit c08604d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/semantic-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,18 @@ concurrency:
cancel-in-progress: true

on:
pull_request:
pull_request_target:
types:
- opened
- edited
- reopened
jobs:
semantic-pr:
permissions: write-all
runs-on: ubuntu-20.04
timeout-minutes: 1
steps:
- name: Semantic pull-request
uses: amannn/action-semantic-pull-request@v5.0.2
uses: amannn/action-semantic-pull-request@v5.5.2
with:
requireScope: false
wip: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Test

on: [push]
on: [push, pull_request]

env:
POETRY_VERSION: "1.4.2"
Expand Down

0 comments on commit c08604d

Please sign in to comment.