Skip to content

Commit

Permalink
Merge pull request #436 from hmlanigan/required-actions
Browse files Browse the repository at this point in the history
Remove run limitations for build and unit test workflows
  • Loading branch information
hmlanigan authored Mar 18, 2024
2 parents e641798 + 9e7b57c commit f2a76f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 19 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,12 @@ name: Build
# This GitHub action runs your tests for each pull request.
on:
pull_request:
paths-ignore:
- "README.md"
- "Makefile"
- "project-docs/**"
types: [opened, synchronize, reopened, ready_for_review]
# paths-ignore:
# DON'T SET - these are "required" so they need to run on every PR
push:
branches:
- "main"
paths-ignore:
- "README.md"
- "Makefile"
- "project-docs/**"


# Testing only needs permissions to read the repository contents.
permissions:
Expand Down
13 changes: 3 additions & 10 deletions .github/workflows/unit_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,12 @@ name: Unit Tests
# This GitHub action runs your tests for each pull request.
on:
pull_request:
paths-ignore:
- "README.md"
- "project-docs/**"
- ".github/ISSUE_TEMPLATE/**"
- ".github/PULL_REQUEST_TEMPLATE.md"
types: [opened, synchronize, reopened, ready_for_review]
# paths-ignore:
# DON'T SET - these are "required" so they need to run on every PR
push:
branches:
- "main"
paths-ignore:
- "README.md"
- "project-docs/**"
- ".github/ISSUE_TEMPLATE/**"
- ".github/PULL_REQUEST_TEMPLATE.md"

# Testing only needs permissions to read the repository contents.
permissions:
Expand Down

0 comments on commit f2a76f8

Please sign in to comment.