backport of commit 87d37fecb775a5ae82d264f0fc08b613dd733c7c (#21688)

Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
This commit is contained in:
hc-github-team-secure-vault-core 2023-07-07 15:56:05 -04:00 committed by GitHub
parent c569513e54
commit cfa1e9d363
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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"