Skip to content

Commit

Permalink
Limit actions to only PRs to main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
kekonn committed Mar 21, 2024
1 parent ce66e20 commit 2532109
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@
# On PRs, only the plan step is executed to output the version manifest.

name: Package for release

on:
workflow_dispatch: # For testing purposes
release:
types:
- released
pull_request:
types:
- ready_for_review
branches:
- main

jobs:
plan:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
name: PR Check
on:
pull_request:
branches:
- main
types:
- opened
- review_requested
Expand Down

0 comments on commit 2532109

Please sign in to comment.