File tree Expand file tree Collapse file tree 8 files changed +23
-49
lines changed Expand file tree Collapse file tree 8 files changed +23
-49
lines changed Original file line number Diff line number Diff line change @@ -53,14 +53,10 @@ jobs:
53
53
# Pin action to full length commit SHA
54
54
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
55
55
with :
56
- # Specify whether to remove untracked files before checking out the repository:
57
- clean : true
58
-
59
- # Limit clone depth to the most recent commit:
60
- fetch-depth : 1
61
-
62
- # Specify whether to download Git-LFS files:
63
- lfs : false
56
+ # Ensure we have access to the scripts directory:
57
+ sparse-checkout : |
58
+ .github/workflows/scripts
59
+ sparse-checkout-cone-mode : false
64
60
timeout-minutes : 10
65
61
66
62
# Extract commit metadata from commit messages as JSON:
Original file line number Diff line number Diff line change @@ -50,9 +50,6 @@ permissions:
50
50
# Allow read-only access to the repository contents:
51
51
contents : read
52
52
53
- # Allow write access to pull requests:
54
- pull-requests : write
55
-
56
53
# Workflow jobs:
57
54
jobs :
58
55
@@ -75,14 +72,10 @@ jobs:
75
72
# Pin action to full length commit SHA
76
73
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
77
74
with :
78
- # Specify whether to remove untracked files before checking out the repository:
79
- clean : true
80
-
81
- # Limit clone depth to the most recent commit:
82
- fetch-depth : 1
83
-
84
- # Specify whether to download Git-LFS files:
85
- lfs : false
75
+ # Ensure we have access to the scripts directory:
76
+ sparse-checkout : |
77
+ .github/workflows/scripts
78
+ sparse-checkout-cone-mode : false
86
79
timeout-minutes : 10
87
80
88
81
# Check contributing guidelines acceptance:
Original file line number Diff line number Diff line change @@ -55,14 +55,10 @@ jobs:
55
55
# Pin action to full length commit SHA
56
56
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
57
57
with :
58
- # Specify whether to remove untracked files before checking out the repository:
59
- clean : false
60
-
61
- # Limit clone depth to the most recent commit:
62
- fetch-depth : 1
63
-
64
- # Specify whether to download Git-LFS files:
65
- lfs : false
58
+ # Ensure we have access to the scripts directory:
59
+ sparse-checkout : |
60
+ .github/workflows/scripts
61
+ sparse-checkout-cone-mode : false
66
62
timeout-minutes : 10
67
63
68
64
# Create issues from commit comments:
Original file line number Diff line number Diff line change 40
40
# Define job permissions:
41
41
permissions :
42
42
contents : read
43
- pull-requests : write
44
43
45
44
# Define the type of virtual host machine:
46
45
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 43
43
44
44
# Define job permissions:
45
45
permissions :
46
+ # Allow read-only access to the repository contents:
46
47
contents : read
47
- pull-requests : write
48
48
49
49
# Define the type of virtual host machine:
50
50
runs-on : ubuntu-latest
@@ -56,14 +56,10 @@ jobs:
56
56
# Pin action to full length commit SHA
57
57
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
58
58
with :
59
- # Specify whether to remove untracked files before checking out the repository:
60
- clean : true
61
-
62
- # Limit clone depth to the most recent commit:
63
- fetch-depth : 1
64
-
65
- # Specify whether to download Git-LFS files:
66
- lfs : false
59
+ # Ensure we have access to the scripts directory:
60
+ sparse-checkout : |
61
+ .github/workflows/scripts
62
+ sparse-checkout-cone-mode : false
67
63
timeout-minutes : 10
68
64
69
65
# Check whether any of the referenced issues is a "Good First Issue":
Original file line number Diff line number Diff line change 49
49
# Define job permissions:
50
50
permissions :
51
51
contents : read
52
- pull-requests : write
53
52
54
53
# Define the type of virtual host machine:
55
54
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 62
62
# Specify whether to remove untracked files before checking out the repository:
63
63
clean : false
64
64
65
- # Limit clone depth to the most recent 100 commits :
66
- fetch-depth : 100
65
+ # Limit clone depth to the most recent commit :
66
+ fetch-depth : 1
67
67
68
68
# Specify whether to download Git-LFS files:
69
69
lfs : false
Original file line number Diff line number Diff line change 43
43
# Define job permissions:
44
44
permissions :
45
45
contents : read
46
- pull-requests : write
47
46
48
47
# Define the type of virtual host machine:
49
48
runs-on : ubuntu-latest
@@ -55,14 +54,10 @@ jobs:
55
54
# Pin action to full length commit SHA
56
55
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
57
56
with :
58
- # Specify whether to remove untracked files before checking out the repository:
59
- clean : true
60
-
61
- # Limit clone depth to the most recent commit:
62
- fetch-depth : 1
63
-
64
- # Specify whether to download Git-LFS files:
65
- lfs : false
57
+ # Ensure we have access to the scripts directory:
58
+ sparse-checkout : |
59
+ .github/workflows/scripts
60
+ sparse-checkout-cone-mode : false
66
61
timeout-minutes : 10
67
62
68
63
# Prevent contributors from opening too many "Good First PR"s:
You can’t perform that action at this time.
0 commit comments