mirror of
https://github.com/ceph/ceph
synced 2025-02-22 02:27:29 +00:00
.github: correct the regex in mileston workflow
also use pull_request_target event so the action is run in the context of the base of the pull request. this helps us to overcome the "Resource not accessible by integration" issue where the action is run in the context of the pull request. Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
6a5ee1eee6
commit
c5f6d15e36
10
.github/milestone.yml
vendored
10
.github/milestone.yml
vendored
@ -1,6 +1,6 @@
|
||||
base-branch:
|
||||
- "luminous"
|
||||
- "nautilus"
|
||||
- "octopus"
|
||||
- "pacific"
|
||||
- "quincy"
|
||||
- "(luminous)"
|
||||
- "(nautilus)"
|
||||
- "(octopus)"
|
||||
- "(pacific)"
|
||||
- "(quincy)"
|
||||
|
7
.github/workflows/milestone.yml
vendored
7
.github/workflows/milestone.yml
vendored
@ -1,9 +1,6 @@
|
||||
---
|
||||
name: "Pull Request Add Milestone"
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
name: "Pull Request Set Milestone"
|
||||
on: pull_request_target
|
||||
jobs:
|
||||
milestone:
|
||||
runs-on: ubuntu-latest
|
||||
|
Loading…
Reference in New Issue
Block a user