Skip to content

armgit / mocha

Public Imported from GitHub
0

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

chore: exclude "v11.x" from "stale branch" workflow (#6338)

Mark Wiemere7b7fe12499f
diff --git a/.github/workflows/stale-branches.yml b/.github/workflows/stale-branches.yml
index 9845be74..24ffd7e3 100644
--- a/.github/workflows/stale-branches.yml
+++ b/.github/workflows/stale-branches.yml
@@ -18,7 +18,7 @@ jobs:
uses: actions/github-script@v9
with:
script: |
- const protectedBranches = new Set(['main', '11.x']);
+ const protectedBranches = new Set(['main', 'v11.x']);
const staleAfterMs = 1000 * 60 * 60 * 24 * 7;
const now = Date.now();
const repoUrl = `https://github.com/${context.repo.owner}/${context.repo.repo}`;