Skip to content

Commit

Permalink
Use github.sha when running tests on the master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ono-max authored and ko1 committed Feb 9, 2024
1 parent 0158b3d commit fa52fcd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/protocol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
LAUNCHABLE_ORGANIZATION: "ruby"
LAUNCHABLE_WORKSPACE: "debug"
# https://github.com/launchableinc/cli/blob/v1.80.1/launchable/utils/authentication.py#L71
GITHUB_PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
GITHUB_PR_HEAD_SHA: ${{ github.event.pull_request.head.sha || github.sha }}

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ruby-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
LAUNCHABLE_ORGANIZATION: "ruby"
LAUNCHABLE_WORKSPACE: "debug"
# https://github.com/launchableinc/cli/blob/v1.80.1/launchable/utils/authentication.py#L71
GITHUB_PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
GITHUB_PR_HEAD_SHA: ${{ github.event.pull_request.head.sha || github.sha }}

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
LAUNCHABLE_ORGANIZATION: "ruby"
LAUNCHABLE_WORKSPACE: "debug"
# https://github.com/launchableinc/cli/blob/v1.80.1/launchable/utils/authentication.py#L71
GITHUB_PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
GITHUB_PR_HEAD_SHA: ${{ github.event.pull_request.head.sha || github.sha }}

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
LAUNCHABLE_ORGANIZATION: "ruby"
LAUNCHABLE_WORKSPACE: "debug"
# https://github.com/launchableinc/cli/blob/v1.80.1/launchable/utils/authentication.py#L71
GITHUB_PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
GITHUB_PR_HEAD_SHA: ${{ github.event.pull_request.head.sha || github.sha }}

jobs:
test:
Expand Down

0 comments on commit fa52fcd

Please sign in to comment.