You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/feature_freeze.yml
+12-2Lines changed: 12 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,24 @@
1
1
name: Feature freeze check
2
2
3
3
on:
4
-
pull_request:
4
+
pull_request_target:
5
+
types:
6
+
- opened
7
+
branches:
8
+
- master
5
9
paths:
6
10
- 'clippy_lints/src/declared_lints.rs'
7
11
8
12
jobs:
9
13
auto-comment:
10
14
runs-on: ubuntu-latest
11
15
16
+
permissions:
17
+
pull-requests: write
18
+
19
+
# Do not in any case add code that runs anything coming from the the content
20
+
# of the pull request, as malicious code would be able to access the private
21
+
# GitHub token.
12
22
steps:
13
23
- name: Check PR Changes
14
24
id: pr-changes
@@ -19,7 +29,7 @@ jobs:
19
29
run: |
20
30
# Use GitHub API to create a comment on the PR
21
31
PR_NUMBER=${{ github.event.pull_request.number }}
22
-
COMMENT="**Seems that you are trying to add a new lint!**\nWe are currently in a [feature freeze](https://doc.rust-lang.org/nightly/clippy/development/feature_freeze.html), so we are delaying all lint-adding PRs to August 1st and focusing on bugfixes.\nThanks a lot for your contribution, and sorry for the inconvenience.\nWith ❤ from the Clippy team"
32
+
COMMENT="**Seems that you are trying to add a new lint!**\nWe are currently in a [feature freeze](https://doc.rust-lang.org/nightly/clippy/development/feature_freeze.html), so we are delaying all lint-adding PRs to September 18 and focusing on bugfixes.\nThanks a lot for your contribution, and sorry for the inconvenience.\nWith ❤ from the Clippy team\n\n@rustbot note Feature-freeze\n@rustbot blocked\n@rustbot label +A-lint\n"
0 commit comments