backport of commit 87d37fecb775a5ae82d264f0fc08b613dd733c7c (#21688)
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
This commit is contained in:
parent
c569513e54
commit
cfa1e9d363
|
@ -17,8 +17,8 @@ on:
|
|||
|
||||
jobs:
|
||||
add-hashicorp-contributed-label:
|
||||
# Only run if this is NOT coming from a fork of Vault (if this is not true, it's community contributed)
|
||||
if: ${{ github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name }}
|
||||
# Only run if this is NOT coming from a fork of hashicorp/vault (if this is not true, it's community contributed)
|
||||
if: ${{ github.repository == 'hashicorp/vault' && (github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name) }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: "Add label to PR"
|
||||
|
|
Loading…
Reference in New Issue