Skip to content

Commit

Permalink
More debugging for action controls
Browse files Browse the repository at this point in the history
  • Loading branch information
kchason committed Jan 25, 2024
1 parent 76477b3 commit d42d1ce
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/annotate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,27 @@ on: [ pull_request ]

jobs:
annotate:
if: github.event.pull_request.head.user.name == 'kchason'
# if: github.event.pull_request.head.user.name == 'kchason'
runs-on: ubuntu-latest
steps:

# Get the code from the repository to be packaged
- name: Get Repo
uses: actions/checkout@v3

- name: Debug
run: |
echo "User: ${{ github.event.pull_request.head.user.name }}"
echo "User: ${{ github.event.pull_request.head.user.login }}"
echo "Source Repo: ${{ github.event.pull_request.head.repo.owner.login }}"
echo "Source Repo: ${{ github.event.pull_request.head.repo.full_name }}"
echo "Source Branch: ${{ github.event.pull_request.head.ref }}"
echo "Target Repo: ${{ github.event.pull_request.base.repo.full_name }}"
echo "Target Branch: ${{ github.event.pull_request.base.ref }}"
echo "Repo: ${{ github.repository }}"
echo "PR: ${{ github.event.pull_request.number }}"
echo "Branch: ${{ github.event.pull_request.head.ref }}"
- name: Annotate - Directory No Filter
uses: ./
with:
Expand Down

0 comments on commit d42d1ce

Please sign in to comment.