Skip to content

Commit

Permalink
ajust workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
PiluVitu committed Aug 20, 2024
1 parent db1853f commit f969df5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/auto-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
assing-contributor-on-pr:
runs-on: ubuntu-latest
if: ${{github.event_name == 'pull_request' && github.event.pull_request.assignees == []}}
if: ${{github.event_name == 'pull_request' && == []}}
steps:
- name: Checkout
uses: actions/checkout@v4.1.7
Expand All @@ -46,3 +46,6 @@ jobs:
run: gh pr edit ${{ github.event.pull_request.number }} --add-assignee ${{ github.actor }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Show Assigness
run: echo ${{toJSON('github.event.pull_request.assignees')}}

0 comments on commit f969df5

Please sign in to comment.