Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix #889: add missing repo info and fix wrong argument to gh #890

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mhucka wants to merge 3 commits into tensorflow:master from mhucka:mh-fix-889
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/ci-build-checks.yaml
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -121,14 +121,15 @@ jobs:
id: files
env:
GH_TOKEN: ${{github.token}}
GH_REPO: ${{github.repository}}
# Note that this approach doesn't need to check out a copy of the repo.
run: |
set -x +e
# shellcheck disable=SC2207
# Get an array of paths changed in this workflow trigger event.
if [[ "${{github.event_name}}" == "pull_request" ]]; then
url=${{github.event.pull_request.url}}
paths=($(gh pr view $url --json files --jq '.files | .[].path'))
pr=${{github.event.pull_request.number}}
paths=($(gh pr view $pr --json files --jq '.files | .[].path'))
else
# There's no event sha for manual runs, so we rely on user input.
# Make sure the sha is valid.
Expand Down Expand Up @@ -233,6 +234,7 @@ jobs:
continue-on-error: true
env:
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
GH_REPO: ${{github.repository}}
run: |
key="${{steps.parameters.outputs.python_cache_key}}"
gh extension install actions/gh-actions-cache
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci-file-checks.yaml
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
name: Use the user-provided SHA as the basis for comparison
env:
GH_TOKEN: ${{github.token}}
GH_REPO: ${{github.repository}}
run: |
set -x +e
url="repos/${{github.repository}}/commits/${{inputs.sha}}"
Expand Down Expand Up @@ -181,6 +182,7 @@ jobs:
continue-on-error: true
env:
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
GH_REPO: ${{github.repository}}
run: |
key="${{steps.parameters.outputs.cache_key}}"
gh extension install actions/gh-actions-cache
Expand Down
Loading

AltStyle によって変換されたページ (->オリジナル) /