Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

chore: fixup workflow perms in-job (#6327)

Mark Wiemer633480c976dc
diff --git a/.github/workflows/mocha.yml b/.github/workflows/mocha.yml
index 5b56ac34..19410945 100644
--- a/.github/workflows/mocha.yml
+++ b/.github/workflows/mocha.yml
@@ -55,6 +55,7 @@ jobs:
permissions:
id-token: write # for Codecov OIDC
contents: read # for Codecov OIDC
+ issues: write
# TODO: Restore "mocha-github-actions-reporter" style reporting without relying on third party module
# https://github.com/mochajs/mocha/issues/5183
uses: ./.github/workflows/npm-script.yml
@@ -87,6 +88,7 @@ jobs:
timeout-minutes: 20
permissions:
contents: read
+ issues: write
steps:
- uses: actions/checkout@v7
with: