Skip to content

Commit 27e5803

Browse files
authored
gh-action: fix security scan and labeler syntax (#3746)
follow up on #3740 Signed-off-by: Mustafa Abdelrahman <[email protected]>
1 parent 7e02c43 commit 27e5803

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/labeler.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Add 'docs' to any changes within 'docs' folder or any subfolders
22
documentation:
3-
- docs/**/*
3+
- changed-files:
4+
- any-glob-to-any-file:
5+
- 'docs/**/*'
46

57
# Add 'enhancement' label to any PR where the head branch name starts with `feature/` in the name
68
enhancement:

.github/workflows/labeler.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@ name: "Pull Request Labeler"
22
on:
33
- pull_request_target
44

5+
permissions: {}
6+
57
jobs:
68
labeler:
79
permissions:
810
contents: read
911
pull-requests: write
1012
runs-on: ubuntu-latest
1113
steps:
12-
- uses: actions/labeler@v6
14+
- uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1
1315

0 commit comments

Comments
 (0)