Skip to content

Commit ee16145

Browse files
committed
Create Close Stale Issues
#SAMkenXEcosystem PMUXSystemAPIs updates with DAVID/MORAL Project - > https://turnkey-triumph-326606-cloudstorage.googleapis.com/dev/samkenx main email : orbit.hierarchy@gmail.com # https://samkenx.com # https://xcc.net Signed-off-by: Sam Ken <samkenxhub@gmail.com>
1 parent 58d379f commit ee16145

File tree

1 file changed

+140
-0
lines changed

1 file changed

+140
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
# This workflow will trigger Datadog Synthetic tests within your Datadog organisation
2+
# For more information on running Synthetic tests within your GitHub workflows see: https://docs.datadoghq.com/synthetics/cicd_integrations/github_actions/
3+
4+
# This workflow uses actions that are not certified by GitHub.
5+
# They are provided by a third-party and are governed by
6+
# separate terms of service, privacy policy, and support
7+
# documentation.
8+
9+
# To get started:
10+
11+
# 1. Add your Datadog API (DD_API_KEY) and Application Key (DD_APP_KEY) as secrets to your GitHub repository. For more information, see: https://docs.datadoghq.com/account_management/api-app-keys/.
12+
# 2. Start using the action within your workflow
13+
14+
name: Run Datadog Synthetic tests
15+
16+
on:
17+
push:
18+
branches: [ "main" ]
19+
pull_request:
20+
branches: [ "main" ]
21+
22+
jobs:
23+
build:
24+
runs-on: ubuntu-latest
25+
26+
steps:
27+
- uses: actions/checkout@v2
28+
29+
# Run Synthetic tests within your GitHub workflow.
30+
# For additional configuration options visit the action within the marketplace: https://github.com/marketplace/actions/datadog-synthetics-ci
31+
- name: Run Datadog Synthetic tests
32+
uses: DataDog/synthetics-ci-github-action@2b56dc0cca9daa14ab69c0d1d6844296de8f941e
33+
with:
34+
api_key: ${{secrets.DD_API_KEY}}
35+
app_key: ${{secrets.DD_APP_KEY}}
36+
test_search_query: 'tag:e2e-tests' #Modify this tag to suit your tagging strategy
37+
38+
- name: Close Stale Issues
39+
uses: actions/stale@v4.1.1
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 label to apply when a pull request is stale.
70+
stale-pr-label: # optional, default is Stale
71+
# The label to apply when a pull request is closed.
72+
close-pr-label: # optional
73+
# The labels that mean a pull request is exempt from being marked as stale. Separate multiple labels with commas (eg. "label1,label2").
74+
exempt-pr-labels: # optional, default is
75+
# 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").
76+
exempt-milestones: # optional, default is
77+
# 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.
78+
exempt-issue-milestones: # optional, default is
79+
# 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.
80+
exempt-pr-milestones: # optional, default is
81+
# Exempt all issues and pull requests with milestones from being marked as stale. Default to false.
82+
exempt-all-milestones: # optional, default is false
83+
# Exempt all issues with milestones from being marked as stale. Override "exempt-all-milestones" option regarding only the issues.
84+
exempt-all-issue-milestones: # optional, default is
85+
# Exempt all pull requests with milestones from being marked as stale. Override "exempt-all-milestones" option regarding only the pull requests.
86+
exempt-all-pr-milestones: # optional, default is
87+
# 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.
88+
only-labels: # optional, default is
89+
# 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.
90+
any-of-labels: # optional, default is
91+
# 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.
92+
any-of-issue-labels: # optional, default is
93+
# 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.
94+
any-of-pr-labels: # optional, default is
95+
# 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.
96+
only-issue-labels: # optional, default is
97+
# 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.
98+
only-pr-labels: # optional, default is
99+
# The maximum number of operations per run, used to control rate limiting (GitHub API CRUD related).
100+
operations-per-run: # optional, default is 30
101+
# Remove stale labels from issues and pull requests when they are updated or commented on.
102+
remove-stale-when-updated: # optional, default is true
103+
# Remove stale labels from issues when they are updated or commented on. Override "remove-stale-when-updated" option regarding only the issues.
104+
remove-issue-stale-when-updated: # optional, default is
105+
# Remove stale labels from pull requests when they are updated or commented on. Override "remove-stale-when-updated" option regarding only the pull requests.
106+
remove-pr-stale-when-updated: # optional, default is
107+
# Run the processor in debug mode without actually performing any operations on live issues.
108+
debug-only: # optional, default is false
109+
# The order to get issues or pull requests. Defaults to false, which is descending.
110+
ascending: # optional, default is false
111+
# Delete the git branch after closing a stale pull request.
112+
delete-branch: # optional, default is false
113+
# The date used to skip the stale action on issue/pull request created before it (ISO 8601 or RFC 2822).
114+
start-date: # optional, default is
115+
# The assignees which exempt an issue or a pull request from being marked as stale. Separate multiple assignees with commas (eg. "user1,user2").
116+
exempt-assignees: # optional, default is
117+
# 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.
118+
exempt-issue-assignees: # optional, default is
119+
# 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.
120+
exempt-pr-assignees: # optional, default is
121+
# Exempt all issues and pull requests with assignees from being marked as stale. Default to false.
122+
exempt-all-assignees: # optional, default is false
123+
# Exempt all issues with assignees from being marked as stale. Override "exempt-all-assignees" option regarding only the issues.
124+
exempt-all-issue-assignees: # optional, default is
125+
# Exempt all pull requests with assignees from being marked as stale. Override "exempt-all-assignees" option regarding only the pull requests.
126+
exempt-all-pr-assignees: # optional, default is
127+
# Exempt draft pull requests from being marked as stale. Default to false.
128+
exempt-draft-pr: # optional, default is false
129+
# Display some statistics at the end regarding the stale workflow (only when the logs are enabled).
130+
enable-statistics: # optional, default is true
131+
# A comma delimited list of labels to add when a stale issue or pull request receives activity and has the stale-issue-label or stale-pr-label removed from it.
132+
labels-to-add-when-unstale: # optional, default is
133+
# A comma delimited list of labels to remove when a stale issue or pull request receives activity and has the stale-issue-label or stale-pr-label removed from it.
134+
labels-to-remove-when-unstale: # optional, default is
135+
# Any update (update/comment) can reset the stale idle time on the issues and pull requests.
136+
ignore-updates: # optional, default is false
137+
# Any update (update/comment) can reset the stale idle time on the issues. Override "ignore-updates" option regarding only the issues.
138+
ignore-issue-updates: # optional, default is
139+
# Any update (update/comment) can reset the stale idle time on the pull requests. Override "ignore-updates" option regarding only the pull requests.
140+
ignore-pr-updates: # optional, default is

0 commit comments

Comments
 (0)