Skip to content

Commit 195f547

Browse files
authored
Update actions (#486)
1 parent 2f0b916 commit 195f547

File tree

9 files changed

+50
-48
lines changed

9 files changed

+50
-48
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
---
22
name: Bug report
33
about: Create a report to help us improve
4-
title: ''
5-
labels: 'kind/bug'
6-
assignees: ''
7-
4+
title: ""
5+
labels: "kind/bug"
6+
assignees: ""
87
---
98

109
**Describe the bug**
1110
A clear and concise description of what the bug is.
1211

1312
Label the issue properly.
13+
1414
- Add `severity/` label.
1515
- Add `documentation` label if this issue is related to documentation changes.
1616

1717
**To Reproduce**
1818
Steps to reproduce the behavior:
19+
1920
1. Go to '...'
2021
2. Click on '....'
2122
3. Scroll down to '....'
@@ -29,8 +30,9 @@ If applicable, add screenshots to help explain your problem.
2930

3031
**Environment and Versions (please complete the following information):**
3132
A clear and precise description of your setup:
32-
- version for this project in use.
33-
- services, libraries, languages and tools list and versions.
33+
34+
- version for this project in use.
35+
- services, libraries, languages and tools list and versions.
3436

3537
**Additional context**
3638
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
22
name: Feature request
33
about: Suggest an idea for this project
4-
title: ''
5-
labels: 'kind/feature-request'
6-
assignees: ''
7-
4+
title: ""
5+
labels: "kind/feature-request"
6+
assignees: ""
87
---
98

109
**Note:**

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<!--
22
** Requirements for Contributing to this repository **
33
4-
* Fill out the template below. Any pull request that does not include enough information to be reviewed in a timely
4+
* Fill out the template below. Any pull request that does not include enough information to be reviewed in a timely
55
manner may be closed at the maintainers' discretion.
6-
* After you create the pull request, all status checks must be pass before a maintainer reviews your contribution.
6+
* After you create the pull request, all status checks must be pass before a maintainer reviews your contribution.
77
For more details, please see [CONTRIBUTING](/CONTRIBUTING.md).
88
-->
99

@@ -15,7 +15,7 @@ What inspired you to submit this pull request?
1515
Link to the issue describing the bug that you're fixing.
1616
1717
If there is not yet an issue for your bug, please open a new issue and then link to that issue in your pull request.
18-
Note: In some cases, one person's "bug" is another person's "feature."
18+
Note: In some cases, one person's "bug" is another person's "feature."
1919
If the pull request does not address an existing issue with the "bug" label, the maintainers have the final say on whether the current behavior is a bug.
2020
2121
We must be able to understand the design of your change from this description.
@@ -29,11 +29,12 @@ Keep in mind that the maintainer reviewing this PR may not be familiar with or h
2929
<!-- Anything else we should know when reviewing? -->
3030

3131
### Review checklist
32+
3233
Please check relevant items below:
33-
- [ ] This PR includes all [newly recorded cassettes](/DEVELOPMENT.md) for any modified tests.
3434

35+
- [ ] This PR includes all [newly recorded cassettes](/DEVELOPMENT.md) for any modified tests.
3536

3637
- [ ] This PR does not rely on API client schema changes.
37-
- [ ] The CI should be fully passing.
38+
- [ ] The CI should be fully passing.
3839
- [ ] Or, this PR relies on API schema changes and this is a Draft PR to include tests for that new functionality.
39-
- Note: CI shouldn't be run on this Draft PR, as its expected to fail without the corresponding schema changes.
40+
- Note: CI shouldn't be run on this Draft PR, as its expected to fail without the corresponding schema changes.

.github/workflows/labeler.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: "Pull Request Labeler"
22
on:
3-
- pull_request
3+
- pull_request
44

55
jobs:
66
triage:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: DataDog/labeler@glob-all
10-
with:
11-
repo-token: "${{ secrets.GITHUB_TOKEN }}"
9+
- uses: DataDog/labeler@glob-all
10+
with:
11+
repo-token: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/prerelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
- uses: actions/checkout@v2
1010
- uses: actions/setup-node@v1
1111
with:
12-
node-version: '12.x'
12+
node-version: "12.x"
1313
- run: |
1414
yarn
1515
yarn publish --tag=beta --tag=latest

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
- uses: actions/checkout@v2
1010
- uses: actions/setup-node@v1
1111
with:
12-
node-version: '12.x'
12+
node-version: "12.x"
1313
- run: yarn
1414
- run: yarn publish --tag=latest
1515
env:

.github/workflows/stale.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,37 @@
33
name: "Stale issues and pull requests"
44
on:
55
schedule:
6-
- cron: "0 0 * * *"
6+
- cron: "0 0 * * *"
77

88
jobs:
99
stale:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/stale@v1
13-
with:
14-
repo-token: ${{ secrets.GITHUB_TOKEN }}
15-
stale-issue-message: >-
16-
Thanks for your contribution!
12+
- uses: actions/stale@v4
13+
with:
14+
repo-token: ${{ secrets.GITHUB_TOKEN }}
15+
stale-issue-message: >-
16+
Thanks for your contribution!
1717
1818
19-
This issue has been automatically marked as stale because it has not had
20-
activity in the last 30 days. Note that the issue will not be automatically
21-
closed, but this notification will remind us to investigate why there's
22-
been inactivity. Thank you for participating in the Datadog open source community.
19+
This issue has been automatically marked as stale because it has not had
20+
activity in the last 30 days. Note that the issue will not be automatically
21+
closed, but this notification will remind us to investigate why there's
22+
been inactivity. Thank you for participating in the Datadog open source community.
2323
2424
25-
If you would like this issue to remain open:
25+
If you would like this issue to remain open:
2626
27-
1. Verify that you can still reproduce the issue in the latest version of this project.
27+
1. Verify that you can still reproduce the issue in the latest version of this project.
2828
29-
1. Comment that the issue is still reproducible and include updated details requested in the issue template.
30-
days-before-stale: 30
31-
days-before-close: 99999
32-
stale-issue-label: 'stale'
33-
exempt-issue-label: 'stale/exempt'
34-
stale-pr-message: >-
35-
This issue has been automatically marked as stale because it has not had activity in the last 30 days.
29+
1. Comment that the issue is still reproducible and include updated details requested in the issue template.
30+
days-before-stale: 30
31+
days-before-close: 99999
32+
stale-issue-label: "stale"
33+
exempt-issue-label: "stale/exempt"
34+
stale-pr-message: >-
35+
This issue has been automatically marked as stale because it has not had activity in the last 30 days.
3636
37-
Note that the issue will not be automatically closed, but this notification will remind us to investigate why there's been inactivity.
38-
stale-pr-label: 'stale'
39-
exempt-pr-label: 'stale/exempt'
37+
Note that the issue will not be automatically closed, but this notification will remind us to investigate why there's been inactivity.
38+
stale-pr-label: "stale"
39+
exempt-pr-label: "stale/exempt"

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
steps:
2424
- name: Get GitHub App token
2525
id: get_token
26-
uses: tibdex/github-app-token@v1.3.0
26+
uses: tibdex/github-app-token@v1
2727
with:
2828
app_id: ${{ secrets.PIPELINE_GITHUB_APP_ID }}
2929
private_key: ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}
@@ -36,7 +36,7 @@ jobs:
3636
run: python -m pip install pre-commit
3737
- name: set PY
3838
run: echo "PY=$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')" >> $GITHUB_ENV
39-
- uses: actions/cache@v1
39+
- uses: actions/cache@v2
4040
with:
4141
path: ~/.cache/pre-commit
4242
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
@@ -101,7 +101,7 @@ jobs:
101101
- name: Get GitHub App token
102102
if: github.event_name == 'pull_request'
103103
id: get_token
104-
uses: tibdex/github-app-token@v1.3.0
104+
uses: tibdex/github-app-token@v1
105105
with:
106106
app_id: ${{ secrets.PIPELINE_GITHUB_APP_ID }}
107107
private_key: ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}

.github/workflows/test_integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Get GitHub App token
3535
if: github.event_name == 'pull_request'
3636
id: get_token
37-
uses: tibdex/github-app-token@v1.3.0
37+
uses: tibdex/github-app-token@v1
3838
with:
3939
app_id: ${{ secrets.PIPELINE_GITHUB_APP_ID }}
4040
private_key: ${{ secrets.PIPELINE_GITHUB_APP_PRIVATE_KEY }}

0 commit comments

Comments
 (0)