chore: updated issue count workflow

Signed-off-by: Adithya Krishna <adi@documenso.com>
This commit is contained in:
Adithya Krishna
2023-12-04 16:07:51 +05:30
parent d8588b780a
commit 36e48e67ee

View File

@ -1,3 +1,4 @@
# Triggered with '/issue-count @username'
name: "Issue Count"
on:
@ -9,6 +10,7 @@ permissions:
jobs:
countIssues:
if: ${{ !github.event.issue.pull_request }}
runs-on: ubuntu-latest
env:
MY_ENV_VARIABLE: ${{ secrets.GITHUB_TOKEN }}
@ -61,7 +63,7 @@ jobs:
headers: {
'Authorization': `token ${{ secrets.GITHUB_TOKEN }}`,
}
});
});
} else {
console.log('No valid username found in the comment');
}