Skip to content

Commit 8036c44

Browse files
authored
Merge pull request #72 from Djubz/Djubz-patch-2
Update stale.yaml
2 parents e32cc9b + 9d2cdb5 commit 8036c44

File tree

1 file changed

+195
-0
lines changed

1 file changed

+195
-0
lines changed

.github/workflows/stale.yaml

Lines changed: 195 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,198 @@ jobs:
1717
days-before-pr-stale: 60
1818
days-before-issue-close: 10
1919
days-before-pr-close: 10
20+
21+
- name: Setup Node.js environment
22+
uses: actions/[email protected]
23+
with:
24+
# Set always-auth in npmrc.
25+
always-auth: # optional, default is false
26+
# Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0.
27+
node-version: # optional
28+
# File containing the version Spec of the version to use. Examples: .nvmrc, .node-version, .tool-versions.
29+
node-version-file: # optional
30+
# Target architecture for Node to use. Examples: x86, x64. Will use system architecture by default.
31+
architecture: # optional
32+
# Set this option if you want the action to check for the latest available version that satisfies the version spec.
33+
check-latest: # optional
34+
# Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN.
35+
registry-url: # optional
36+
# Optional scope for authenticating against scoped registries. Will fall back to the repository owner when using the GitHub Packages registry (https://npm.pkg.github.com/).
37+
scope: # optional
38+
# Used to pull node distributions from node-versions. Since there's a default, this is typically not supplied by the user. When running this action on github.com, the default value is sufficient. When running on GHES, you can pass a personal access token for github.com if you are experiencing rate limiting.
39+
token: # optional, default is ${{ github.server_url == 'https://github.com' && github.token || '' }}
40+
# Used to specify a package manager for caching in the default directory. Supported values: npm, yarn, pnpm.
41+
cache: # optional
42+
# Used to specify the path to a dependency file: package-lock.json, yarn.lock, etc. Supports wildcards or a list of file names for caching multiple dependencies.
43+
cache-dependency-path: # optional
44+
45+
- name: Download a Build Artifact
46+
uses: actions/[email protected]
47+
with:
48+
# Name of the artifact to download. If unspecified, all artifacts for the run are downloaded.
49+
name: # optional
50+
# IDs of the artifacts to download, comma-separated. Either inputs `artifact-ids` or `name` can be used, but not both.
51+
artifact-ids: # optional
52+
# Destination path. Supports basic tilde expansion. Defaults to $GITHUB_WORKSPACE
53+
path: # optional
54+
# A glob pattern matching the artifacts that should be downloaded. Ignored if name is specified.
55+
pattern: # optional
56+
# When multiple artifacts are matched, this changes the behavior of the destination directories. If true, the downloaded artifacts will be in the same directory specified by path. If false, the downloaded artifacts will be extracted into individual named directories within the specified path.
57+
merge-multiple: # optional, default is false
58+
# The GitHub token used to authenticate with the GitHub API. This is required when downloading artifacts from a different repository or from a different workflow run. If this is not specified, the action will attempt to download artifacts from the current repository and the current workflow run.
59+
github-token: # optional
60+
# The repository owner and the repository name joined together by "/". If github-token is specified, this is the repository that artifacts will be downloaded from.
61+
repository: # optional, default is ${{ github.repository }}
62+
# The id of the workflow run where the desired download artifact was uploaded from. If github-token is specified, this is the run that artifacts will be downloaded from.
63+
run-id: # optional, default is ${{ github.run_id }}
64+
65+
- name: Setup Go environment
66+
uses: actions/[email protected]
67+
with:
68+
# The Go version to download (if necessary) and use. Supports semver spec and ranges. Be sure to enclose this option in single quotation marks.
69+
go-version: # optional
70+
# Path to the go.mod or go.work file.
71+
go-version-file: # optional
72+
# Set this option to true if you want the action to always check for the latest available version that satisfies the version spec
73+
check-latest: # optional
74+
# Used to pull Go distributions from go-versions. Since there's a default, this is typically not supplied by the user. When running this action on github.com, the default value is sufficient. When running on GHES, you can pass a personal access token for github.com if you are experiencing rate limiting.
75+
token: # optional, default is ${{ github.server_url == 'https://github.com' && github.token || '' }}
76+
# Used to specify whether caching is needed. Set to true, if you'd like to enable caching.
77+
cache: # optional, default is true
78+
# Used to specify the path to a dependency file - go.sum
79+
cache-dependency-path: # optional
80+
# Target architecture for Go to use. Examples: x86, x64. Will use system architecture by default.
81+
architecture: # optional
82+
83+
- name: Close Stale Issues
84+
uses: actions/[email protected]
85+
with:
86+
# Token for the repository. Can be passed in using `{{ secrets.GITHUB_TOKEN }}`.
87+
repo-token: # optional, default is ${{ github.token }}
88+
# The message to post on the issue when tagging it. If none provided, will not mark issues stale.
89+
stale-issue-message: # optional
90+
# The message to post on the pull request when tagging it. If none provided, will not mark pull requests stale.
91+
stale-pr-message: # optional
92+
# The message to post on the issue when closing it. If none provided, will not comment when closing an issue.
93+
close-issue-message: # optional
94+
# The message to post on the pull request when closing it. If none provided, will not comment when closing a pull requests.
95+
close-pr-message: # optional
96+
# The number of days old an issue or a pull request can be before marking it stale. Set to -1 to never mark issues or pull requests as stale automatically.
97+
days-before-stale: # optional, default is 60
98+
# The number of days old an issue can be before marking it stale. Set to -1 to never mark issues as stale automatically. Override "days-before-stale" option regarding only the issues.
99+
days-before-issue-stale: # optional
100+
# The number of days old a pull request can be before marking it stale. Set to -1 to never mark pull requests as stale automatically. Override "days-before-stale" option regarding only the pull requests.
101+
days-before-pr-stale: # optional
102+
# The number of days to wait to close an issue or a pull request after it being marked stale. Set to -1 to never close stale issues or pull requests.
103+
days-before-close: # optional, default is 7
104+
# The number of days to wait to close an issue after it being marked stale. Set to -1 to never close stale issues. Override "days-before-close" option regarding only the issues.
105+
days-before-issue-close: # optional
106+
# The number of days to wait to close a pull request after it being marked stale. Set to -1 to never close stale pull requests. Override "days-before-close" option regarding only the pull requests.
107+
days-before-pr-close: # optional
108+
# The label to apply when an issue is stale.
109+
stale-issue-label: # optional, default is Stale
110+
# The label to apply when an issue is closed.
111+
close-issue-label: # optional
112+
# The labels that mean an issue is exempt from being marked stale. Separate multiple labels with commas (eg. "label1,label2").
113+
exempt-issue-labels: # optional, default is
114+
# The reason to use when closing an issue.
115+
close-issue-reason: # optional, default is not_planned
116+
# The label to apply when a pull request is stale.
117+
stale-pr-label: # optional, default is Stale
118+
# The label to apply when a pull request is closed.
119+
close-pr-label: # optional
120+
# The labels that mean a pull request is exempt from being marked as stale. Separate multiple labels with commas (eg. "label1,label2").
121+
exempt-pr-labels: # optional, default is
122+
# The milestones that mean an issue or a pull request is exempt from being marked as stale. Separate multiple milestones with commas (eg. "milestone1,milestone2").
123+
exempt-milestones: # optional, default is
124+
# The milestones that mean an issue is exempt from being marked as stale. Separate multiple milestones with commas (eg. "milestone1,milestone2"). Override "exempt-milestones" option regarding only the issues.
125+
exempt-issue-milestones: # optional, default is
126+
# The milestones that mean a pull request is exempt from being marked as stale. Separate multiple milestones with commas (eg. "milestone1,milestone2"). Override "exempt-milestones" option regarding only the pull requests.
127+
exempt-pr-milestones: # optional, default is
128+
# Exempt all issues and pull requests with milestones from being marked as stale. Default to false.
129+
exempt-all-milestones: # optional, default is false
130+
# Exempt all issues with milestones from being marked as stale. Override "exempt-all-milestones" option regarding only the issues.
131+
exempt-all-issue-milestones: # optional, default is
132+
# Exempt all pull requests with milestones from being marked as stale. Override "exempt-all-milestones" option regarding only the pull requests.
133+
exempt-all-pr-milestones: # optional, default is
134+
# Only issues or pull requests with all of these labels are checked if stale. Defaults to `` (disabled) and can be a comma-separated list of labels.
135+
only-labels: # optional, default is
136+
# Only issues or pull requests with at least one of these labels are checked if stale. Defaults to `` (disabled) and can be a comma-separated list of labels.
137+
any-of-labels: # optional, default is
138+
# Only issues with at least one of these labels are checked if stale. Defaults to `` (disabled) and can be a comma-separated list of labels. Override "any-of-labels" option regarding only the issues.
139+
any-of-issue-labels: # optional, default is
140+
# Only pull requests with at least one of these labels are checked if stale. Defaults to `` (disabled) and can be a comma-separated list of labels. Override "any-of-labels" option regarding only the pull requests.
141+
any-of-pr-labels: # optional, default is
142+
# Only issues with all of these labels are checked if stale. Defaults to `[]` (disabled) and can be a comma-separated list of labels. Override "only-labels" option regarding only the issues.
143+
only-issue-labels: # optional, default is
144+
# Only pull requests with all of these labels are checked if stale. Defaults to `[]` (disabled) and can be a comma-separated list of labels. Override "only-labels" option regarding only the pull requests.
145+
only-pr-labels: # optional, default is
146+
# The maximum number of operations per run, used to control rate limiting (GitHub API CRUD related).
147+
operations-per-run: # optional, default is 30
148+
# Remove stale labels from issues and pull requests when they are updated or commented on.
149+
remove-stale-when-updated: # optional, default is true
150+
# Remove stale labels from issues when they are updated or commented on. Override "remove-stale-when-updated" option regarding only the issues.
151+
remove-issue-stale-when-updated: # optional, default is
152+
# Remove stale labels from pull requests when they are updated or commented on. Override "remove-stale-when-updated" option regarding only the pull requests.
153+
remove-pr-stale-when-updated: # optional, default is
154+
# Run the processor in debug mode without actually performing any operations on live issues.
155+
debug-only: # optional, default is false
156+
# The order to get issues or pull requests. Defaults to false, which is descending.
157+
ascending: # optional, default is false
158+
# Delete the git branch after closing a stale pull request.
159+
delete-branch: # optional, default is false
160+
# The date used to skip the stale action on issue/pull request created before it (ISO 8601 or RFC 2822).
161+
start-date: # optional, default is
162+
# The assignees which exempt an issue or a pull request from being marked as stale. Separate multiple assignees with commas (eg. "user1,user2").
163+
exempt-assignees: # optional, default is
164+
# The assignees which exempt an issue from being marked as stale. Separate multiple assignees with commas (eg. "user1,user2"). Override "exempt-assignees" option regarding only the issues.
165+
exempt-issue-assignees: # optional, default is
166+
# The assignees which exempt a pull request from being marked as stale. Separate multiple assignees with commas (eg. "user1,user2"). Override "exempt-assignees" option regarding only the pull requests.
167+
exempt-pr-assignees: # optional, default is
168+
# Exempt all issues and pull requests with assignees from being marked as stale. Default to false.
169+
exempt-all-assignees: # optional, default is false
170+
# Exempt all issues with assignees from being marked as stale. Override "exempt-all-assignees" option regarding only the issues.
171+
exempt-all-issue-assignees: # optional, default is
172+
# Exempt all pull requests with assignees from being marked as stale. Override "exempt-all-assignees" option regarding only the pull requests.
173+
exempt-all-pr-assignees: # optional, default is
174+
# Exempt draft pull requests from being marked as stale. Default to false.
175+
exempt-draft-pr: # optional, default is false
176+
# Display some statistics at the end regarding the stale workflow (only when the logs are enabled).
177+
enable-statistics: # optional, default is true
178+
# A comma delimited list of labels to add when an issue or pull request becomes unstale.
179+
labels-to-add-when-unstale: # optional, default is
180+
# A comma delimited list of labels to remove when an issue or pull request becomes stale.
181+
labels-to-remove-when-stale: # optional, default is
182+
# A comma delimited list of labels to remove when an issue or pull request becomes unstale.
183+
labels-to-remove-when-unstale: # optional, default is
184+
# Any update (update/comment) can reset the stale idle time on the issues and pull requests.
185+
ignore-updates: # optional, default is false
186+
# Any update (update/comment) can reset the stale idle time on the issues. Override "ignore-updates" option regarding only the issues.
187+
ignore-issue-updates: # optional, default is
188+
# Any update (update/comment) can reset the stale idle time on the pull requests. Override "ignore-updates" option regarding only the pull requests.
189+
ignore-pr-updates: # optional, default is
190+
# Only the issues or the pull requests with an assignee will be marked as stale automatically.
191+
include-only-assigned: # optional, default is false
192+
193+
- name: Setup .NET Core SDK
194+
uses: actions/[email protected]
195+
with:
196+
# Optional SDK version(s) to use. If not provided, will install global.json version when available. Examples: 2.2.104, 3.1, 3.1.x, 3.x, 6.0.2xx
197+
dotnet-version: # optional
198+
# Optional quality of the build. The possible values are: daily, signed, validated, preview, ga.
199+
dotnet-quality: # optional
200+
# Optional global.json location, if your global.json isn't located in the root of the repo.
201+
global-json-file: # optional
202+
# Optional package source for which to set up authentication. Will consult any existing NuGet.config in the root of the repo and provide a temporary NuGet.config using the NUGET_AUTH_TOKEN environment variable as a ClearTextPassword
203+
source-url: # optional
204+
# Optional OWNER for using packages from GitHub Package Registry organizations/users other than the current repository's owner. Only used if a GPR URL is also provided in source-url
205+
owner: # optional
206+
# Optional NuGet.config location, if your NuGet.config isn't located in the root of the repo.
207+
config-file: # optional
208+
# Optional input to enable caching of the NuGet global-packages folder
209+
cache: # optional
210+
# Used to specify the path to a dependency file: packages.lock.json. Supports wildcards or a list of file names for caching multiple dependencies.
211+
cache-dependency-path: # optional
212+
213+
214+

0 commit comments

Comments
 (0)