mirror of
https://github.com/documenso/documenso.git
synced 2025-11-10 04:22:32 +10:00
chore: updated issue count workflow
Signed-off-by: Adithya Krishna <adi@documenso.com>
This commit is contained in:
4
.github/workflows/issue-count.yml
vendored
4
.github/workflows/issue-count.yml
vendored
@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user