Skip to content

Commit 07b0b17

Browse files
authored
Update on-issue-assigned.yml
1 parent cb6073c commit 07b0b17

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/on-issue-assigned.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,20 @@ jobs:
1212
contents: read
1313
steps:
1414
- uses: actions/checkout@v3
15-
- name: Log the assignees login array
16-
# run: ASSIGNEE_COUNT=$(echo "${{ toJSON(github.event.issue.assignees.*.login) }}" | wc -l)-2; echo $ASSIGNEE_COUNT
17-
run: echo "github.event.assignee.login ${{ github.event.assignee.login }}"
15+
# - name: Log the assignees login array
16+
# run: echo "github.event.assignee.login ${{ github.event.assignee.login }}"
1817
- uses: hubwriter/assigned-issues@main
1918
id: assigned-issues
2019
with:
2120
access-token: ${{ secrets.GITHUB_TOKEN }}
22-
username: ${{ github.event.issue.assignee.login }}
21+
username: ${{ github.event.assignee.login }}
2322
- uses: peter-evans/[email protected]
2423
with:
2524
issue-number: ${{ github.event.issue.number }}
2625
body: |
27-
@${{ github.event.issue.assignee.login }} has been assigned to this issue.
26+
@${{ github.event.assignee.login }} has been assigned to this issue.
2827
2928
<details><summary>More...</summary>
30-
<p><br>As of this assignment, @${{ github.event.issue.assignee.login }} is assigned to a total of ${{ steps.assigned-issues.outputs.count }} issues in the ${{ github.repository }} repository.</p>
31-
<p>For a current list of issues in ${{ github.repository }} that are assigned to @${{ github.event.issue.assignee.login }}, <a href="${{ steps.assigned-issues.outputs.listpage }}">see these search results 🔗</a>.</p>
29+
<p><br>As of this assignment, @${{ github.event.assignee.login }} is assigned to a total of ${{ steps.assigned-issues.outputs.count }} issues in the ${{ github.repository }} repository.</p>
30+
<p>For a current list of issues in ${{ github.repository }} that are assigned to @${{ github.event.assignee.login }}, <a href="${{ steps.assigned-issues.outputs.listpage }}">see these search results 🔗</a>.</p>
3231
</details>

0 commit comments

Comments
 (0)