We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1c22205 + f7ea243 commit 2a06f39Copy full SHA for 2a06f39
2 files changed
.github/workflows/StaleBranch-Test.yml
.github/workflows/StaleBranch.yml
@@ -0,0 +1,25 @@
1
+name: (Scheduled) Stale branch removal
2
+
3
+permissions:
4
+ contents: write
5
6
+on:
7
+ schedule:
8
+ - cron: "0 */6 * * *"
9
10
+ workflow_dispatch:
11
12
13
+jobs:
14
15
+ stale-branch:
16
+ uses: MicrosoftDocs/microsoft-365-docs/.github/workflows/Shared-StaleBranch.yml@workflows-test
17
+ with:
18
+ PayloadJson: ${{ toJSON(github) }}
19
+ RepoBranchSkipList: '[
20
+ "ExampleBranch1",
21
+ "ExampleBranch2"
22
+ ]'
23
+ ReportOnly: true
24
+ secrets:
25
+ AccessToken: ${{ secrets.GITHUB_TOKEN }}
0 commit comments