Skip to content

Commit

Permalink
Improve github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMeinerLP committed Dec 6, 2023
1 parent 0df0e08 commit 28e2b16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build ClipboardConnect
on:
push:
branches:
- master
- main
pull_request:
types:
- opened
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/close_invalid_prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on:

jobs:
run:
if: ${{ github.repository != github.event.pull_request.head.repo.full_name && github.head_ref == 'develop' }}
if: ${{ github.repository != github.event.pull_request.head.repo.full_name && github.head_ref == 'main' }}
runs-on: ubuntu-latest
steps:
- uses: superbrothers/close-pull-request@v3
with:
comment: "Please do not open pull requests from the `develop` branch, create a new branch instead."
comment: "Please do not open pull requests from the `main` branch, create a new branch instead."

0 comments on commit 28e2b16

Please sign in to comment.