Skip to content

Commit

Permalink
test event
Browse files Browse the repository at this point in the history
  • Loading branch information
kmaranionjc committed Sep 29, 2023
1 parent 7fe39d4 commit ed2f4d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/powershell-module-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,12 @@ jobs:
- name : testPR
uses: actions/checkout@v4
- name: Get diff if pull request
if: github.event_name == 'pull_request'
run: |
# Get the current branch
current_branch=$(git symbolic-ref --short HEAD)
#Echo the current event
echo "Current event: $GITHUB_EVENT_NAME"
# Fetch changes from the master branch
git fetch origin master:master
# Run the git diff command between master and the current branch
git diff master..$current_branch
clone:
runs-on: ubuntu-latest
steps:
Expand Down
Empty file.

0 comments on commit ed2f4d4

Please sign in to comment.