Skip to content

Commit

Permalink
Switch logic for annotation check
Browse files Browse the repository at this point in the history
  • Loading branch information
kchason committed Jan 25, 2024
1 parent a8366cd commit 76477b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/annotate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,14 @@ on: [ pull_request ]

jobs:
annotate:
# if: github.event.pull_request.head.user == '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 }}"
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
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=linux/amd64 python:3.11-slim-bullseye
FROM python:3.11-slim-bullseye

# This is based on guidance in https://github.com/casework/CASE-Utilities-Python/tree/main
WORKDIR /opt/workspace
Expand Down

0 comments on commit 76477b3

Please sign in to comment.