Skip to content

Commit cb5e910

Browse files
committed
chore(gh): update wip workflow
Updates the WIP check workflow: - Limits workflow permissions. - Pins actions to release commit hash. Signed-off-by: Ryan Johnson <[email protected]>
1 parent 060d9d0 commit cb5e910

File tree

1 file changed

+5
-17
lines changed

1 file changed

+5
-17
lines changed
Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,7 @@
1-
# Copyright (c) 2021 VMware, Inc. All Rights Reserved.
2-
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
1+
name: Check Pull Request
142

15-
# Perform "exit 1" if PR title starts with "WIP" to block accidental merges
16-
name: Check "WIP" in PR Title
3+
permissions:
4+
contents: read
175

186
on:
197
pull_request:
@@ -23,5 +11,5 @@ jobs:
2311
wip:
2412
runs-on: ubuntu-latest
2513
steps:
26-
- name: Check WIP in PR Title
27-
uses: embano1/wip@v2
14+
- name: Check Pull Request Title
15+
uses: embano1/wip@d10268b325aea84ff49ff3f0983c0ebc14976caf # v1.0.0

0 commit comments

Comments
 (0)