mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-05-06 13:13:37 +00:00
Merge pull request #1645 from btat/workflow-fix
Use pull_request_target in workflow as PRs are from forks
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
name: Create issue to port to Product docs
|
||||
name: Create issue to track porting between Community and Product docs
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
types:
|
||||
- closed
|
||||
branches:
|
||||
@@ -18,7 +18,7 @@ jobs:
|
||||
if: github.event.pull_request.merged == true && contains( github.event.pull_request.labels.*.name, 'port/community-product')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Create issue to track porting between Community and Product docs
|
||||
- name: Create issue
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user