mirror of
https://github.com/gradle/actions.git
synced 2025-04-21 18:29:18 +08:00
More logging
This commit is contained in:
parent
69ac65c7d6
commit
0120556d55
4
.github/workflows/ci-integ-test.yml
vendored
4
.github/workflows/ci-integ-test.yml
vendored
@ -21,8 +21,8 @@ jobs:
|
||||
script: |
|
||||
// Always run quick suite if we are not in the core `gradle/actions` repository
|
||||
// This reduces the load for developers working on forks
|
||||
console.log(github.context)
|
||||
console.log(context.repo)
|
||||
console.log(process.env.GITHUB_REPOSITORY)
|
||||
- name: Get current PR details
|
||||
uses: 8BitJonny/gh-get-current-pr@3.0.0
|
||||
id: PR
|
||||
@ -67,7 +67,7 @@ jobs:
|
||||
// Always run quick suite if we are not in the core `gradle/actions` repository
|
||||
// This reduces the load for developers working on forks
|
||||
console.log(context.repo)
|
||||
if (context.repo.repo !== 'gradle/actions') {
|
||||
if ("${context.repo.owner}/${context.repo.repo}" !== 'gradle/actions') {
|
||||
console.log('Not in core repository: suite=quick')
|
||||
return 'quick'
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user