Skip to content

Commit

Permalink
commit at 12:40:57
Browse files Browse the repository at this point in the history
  • Loading branch information
bkleinen committed Jun 30, 2024
1 parent f74b4fe commit 8a42756
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion .github/workflows/only-change-own-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,32 @@ jobs:
check-own-folder:
runs-on: ubuntu-latest
steps:
- run: |
- name: vars
run: |
echo "some github variables:" \
echo $GITHUB_REF \
echo "sha: ${{ github.event.head_commit.sha }}" \
echo "message: ${{ github.event.head_commit.message }}" \
echo "pr commit sha: ${{ github.event.pull_request.head.sha }}" \
echo "pr commit message: ${{ github.event.pull_request.head.message }}" \
echo "pr commit: ${{ github.event.pull_request.head }}" \
echo "${{ github.event.head_commit.message }}" \
echo "${{ github.event.head_commit.message }}" \
echo "${{ github.event.head_commit.message }}" \
echo "${{ github.event.head_commit.message }}" \
echo "${{ github.event.head_commit.message }}" \
echo "${{ github.event.head_commit.message }}" \
echo "${{ github.event.head_commit.message }}"
- name: "diff commit"
run: |
echo "files changed: " \
git diff --name-only ${{ github.event.head_commit.sha }}
- name: "diff pr"
run: |
echo "files changed: " \
git diff --name-only ${{ github.event.pull_request.head.sha }}

0 comments on commit 8a42756

Please sign in to comment.