We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 60832ed + 72861d2 commit d6df08dCopy full SHA for d6df08d
.github/workflows/build.yml
@@ -10,15 +10,6 @@ jobs:
10
build:
11
runs-on: ubuntu-latest
12
steps:
13
- - name: Log current branches and repositories
14
- env:
15
- REPO_FULL_NAME: ${{ github.event.pull_request.head.repo.full_name }}
16
- run: |
17
- echo "Current ref: $GITHUB_REF"
18
- echo "Base ref: $GITHUB_BASE_REF"
19
- echo "Head ref: $GITHUB_HEAD_REF"
20
- echo "Repository: $GITHUB_REPOSITORY"
21
- echo "Head repository: $REPO_FULL_NAME"
22
- name: Only allow pull requests based on master from the develop branch of the current repository
23
if: ${{ github.base_ref == 'master' && !(github.head_ref == 'develop' && github.event.pull_request.head.repo.full_name == github.repository) }}
24
run: |
0 commit comments