Skip to content

Commit fcfa27d

Browse files
authored
Create blank.yml
1 parent 33558d5 commit fcfa27d

File tree

1 file changed

+147
-0
lines changed

1 file changed

+147
-0
lines changed

.github/workflows/blank.yml

Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: CI
4+
5+
# Controls when the workflow will run
6+
on:
7+
# Triggers the workflow on push or pull request events but only for the "main" branch
8+
push:
9+
branches: [ "main" ]
10+
pull_request:
11+
branches: [ "main" ]
12+
13+
# Allows you to run this workflow manually from the Actions tab
14+
workflow_dispatch:
15+
16+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
17+
jobs:
18+
# This workflow contains a single job called "build"
19+
build:
20+
# The type of runner that the job will run on
21+
runs-on: ubuntu-latest
22+
23+
# Steps represent a sequence of tasks that will be executed as part of the job
24+
steps:
25+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26+
- uses: actions/checkout@v4
27+
28+
# Runs a single command using the runners shell
29+
- name: Run a one-line script
30+
run: echo Hello, world!
31+
32+
# Runs a set of commands using the runners shell
33+
- name: Run a multi-line script
34+
run: |
35+
echo Add other actions to build,
36+
echo test, and deploy your project.
37+
38+
- name: Close Stale Issues
39+
uses: actions/[email protected]
40+
with:
41+
# Token for the repository. Can be passed in using `{{ secrets.GITHUB_TOKEN }}`.
42+
repo-token: # optional, default is ${{ github.token }}
43+
# The message to post on the issue when tagging it. If none provided, will not mark issues stale.
44+
stale-issue-message: # optional
45+
# The message to post on the pull request when tagging it. If none provided, will not mark pull requests stale.
46+
stale-pr-message: # optional
47+
# The message to post on the issue when closing it. If none provided, will not comment when closing an issue.
48+
close-issue-message: # optional
49+
# The message to post on the pull request when closing it. If none provided, will not comment when closing a pull requests.
50+
close-pr-message: # optional
51+
# 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.
52+
days-before-stale: # optional, default is 60
53+
# 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.
54+
days-before-issue-stale: # optional
55+
# 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.
56+
days-before-pr-stale: # optional
57+
# 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.
58+
days-before-close: # optional, default is 7
59+
# 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.
60+
days-before-issue-close: # optional
61+
# 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.
62+
days-before-pr-close: # optional
63+
# The label to apply when an issue is stale.
64+
stale-issue-label: # optional, default is Stale
65+
# The label to apply when an issue is closed.
66+
close-issue-label: # optional
67+
# The labels that mean an issue is exempt from being marked stale. Separate multiple labels with commas (eg. "label1,label2").
68+
exempt-issue-labels: # optional, default is
69+
# The reason to use when closing an issue.
70+
close-issue-reason: # optional, default is not_planned
71+
# The label to apply when a pull request is stale.
72+
stale-pr-label: # optional, default is Stale
73+
# The label to apply when a pull request is closed.
74+
close-pr-label: # optional
75+
# The labels that mean a pull request is exempt from being marked as stale. Separate multiple labels with commas (eg. "label1,label2").
76+
exempt-pr-labels: # optional, default is
77+
# 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").
78+
exempt-milestones: # optional, default is
79+
# 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.
80+
exempt-issue-milestones: # optional, default is
81+
# 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.
82+
exempt-pr-milestones: # optional, default is
83+
# Exempt all issues and pull requests with milestones from being marked as stale. Default to false.
84+
exempt-all-milestones: # optional, default is false
85+
# Exempt all issues with milestones from being marked as stale. Override "exempt-all-milestones" option regarding only the issues.
86+
exempt-all-issue-milestones: # optional, default is
87+
# Exempt all pull requests with milestones from being marked as stale. Override "exempt-all-milestones" option regarding only the pull requests.
88+
exempt-all-pr-milestones: # optional, default is
89+
# 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.
90+
only-labels: # optional, default is
91+
# 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.
92+
any-of-labels: # optional, default is
93+
# 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.
94+
any-of-issue-labels: # optional, default is
95+
# 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.
96+
any-of-pr-labels: # optional, default is
97+
# 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.
98+
only-issue-labels: # optional, default is
99+
# 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.
100+
only-pr-labels: # optional, default is
101+
# The maximum number of operations per run, used to control rate limiting (GitHub API CRUD related).
102+
operations-per-run: # optional, default is 30
103+
# Remove stale labels from issues and pull requests when they are updated or commented on.
104+
remove-stale-when-updated: # optional, default is true
105+
# Remove stale labels from issues when they are updated or commented on. Override "remove-stale-when-updated" option regarding only the issues.
106+
remove-issue-stale-when-updated: # optional, default is
107+
# Remove stale labels from pull requests when they are updated or commented on. Override "remove-stale-when-updated" option regarding only the pull requests.
108+
remove-pr-stale-when-updated: # optional, default is
109+
# Run the processor in debug mode without actually performing any operations on live issues.
110+
debug-only: # optional, default is false
111+
# The order to get issues or pull requests. Defaults to false, which is descending.
112+
ascending: # optional, default is false
113+
# Delete the git branch after closing a stale pull request.
114+
delete-branch: # optional, default is false
115+
# The date used to skip the stale action on issue/pull request created before it (ISO 8601 or RFC 2822).
116+
start-date: # optional, default is
117+
# The assignees which exempt an issue or a pull request from being marked as stale. Separate multiple assignees with commas (eg. "user1,user2").
118+
exempt-assignees: # optional, default is
119+
# 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.
120+
exempt-issue-assignees: # optional, default is
121+
# 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.
122+
exempt-pr-assignees: # optional, default is
123+
# Exempt all issues and pull requests with assignees from being marked as stale. Default to false.
124+
exempt-all-assignees: # optional, default is false
125+
# Exempt all issues with assignees from being marked as stale. Override "exempt-all-assignees" option regarding only the issues.
126+
exempt-all-issue-assignees: # optional, default is
127+
# Exempt all pull requests with assignees from being marked as stale. Override "exempt-all-assignees" option regarding only the pull requests.
128+
exempt-all-pr-assignees: # optional, default is
129+
# Exempt draft pull requests from being marked as stale. Default to false.
130+
exempt-draft-pr: # optional, default is false
131+
# Display some statistics at the end regarding the stale workflow (only when the logs are enabled).
132+
enable-statistics: # optional, default is true
133+
# A comma delimited list of labels to add when an issue or pull request becomes unstale.
134+
labels-to-add-when-unstale: # optional, default is
135+
# A comma delimited list of labels to remove when an issue or pull request becomes stale.
136+
labels-to-remove-when-stale: # optional, default is
137+
# A comma delimited list of labels to remove when an issue or pull request becomes unstale.
138+
labels-to-remove-when-unstale: # optional, default is
139+
# Any update (update/comment) can reset the stale idle time on the issues and pull requests.
140+
ignore-updates: # optional, default is false
141+
# Any update (update/comment) can reset the stale idle time on the issues. Override "ignore-updates" option regarding only the issues.
142+
ignore-issue-updates: # optional, default is
143+
# Any update (update/comment) can reset the stale idle time on the pull requests. Override "ignore-updates" option regarding only the pull requests.
144+
ignore-pr-updates: # optional, default is
145+
# Only the issues or the pull requests with an assignee will be marked as stale automatically.
146+
include-only-assigned: # optional, default is false
147+

0 commit comments

Comments
 (0)