Skip to content

Commit

Permalink
add github workflow for test
Browse files Browse the repository at this point in the history
  • Loading branch information
xmnlab committed Aug 4, 2023
1 parent 94f4a65 commit d38f8b9
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/test_action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Test Action
on:
pull_request:
branches: ["main"]
push:
branches: ["main"]

jobs:
check-pr-is-updated:
runs-on: ubuntu-latest
name: Test if the PR is updated

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Review PR diff
id: check_pr_is_updated
uses: ./ # Uses an action in the root directory
# or use a released Github Action
# uses: osl-incubator/[email protected]
with:
remote_branch: 'origin/main'
pr_sha: ${{ github.event.pull_request.head.sha }}
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,3 @@ dmypy.json

# experimental
dev.yaml
.github

0 comments on commit d38f8b9

Please sign in to comment.