Skip to content

Commit a27ac2a

Browse files
authored
Merge pull request #1209 from vyos/ci/lts-name-check
T8943: ci: add lts-name-check advisory caller
2 parents 0656d1e + 1d693d8 commit a27ac2a

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# .github/workflows/lts-name-check.yml
2+
# DO NOT EDIT — managed by mirror-pipeline rollout.
3+
name: LTS-name advisory check
4+
5+
# pull_request_target (NOT pull_request) so the workflow runs with base-repo
6+
# secrets even on fork PRs. The reusable workflow does NOT check out PR code
7+
# (only reads title/body from the event payload), so the standard
8+
# pull_request_target exploitation vector (running fork code with elevated
9+
# secrets) does not apply.
10+
on:
11+
pull_request_target:
12+
types: [opened, edited]
13+
branches: [rolling]
14+
15+
permissions: {}
16+
17+
jobs:
18+
call:
19+
if: github.repository_owner == 'vyos'
20+
uses: vyos/.github/.github/workflows/lts-name-check-reusable.yml@production
21+
secrets: inherit

0 commit comments

Comments
 (0)