fix: update head repo full name

This commit is contained in:
Tom Hu 2024-05-16 21:02:23 +07:00
parent 2207ec089f
commit 2d2152a670
No known key found for this signature in database
GPG key ID: 79155678363963D2

View file

@ -47,13 +47,9 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
run-macos-latest-xlarge:
if: github.repository == 'codecov/codecov-action'
if: github.head.repo.full_name == 'codecov/codecov-action'
runs-on: macos-latest-xlarge
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Checkout
uses: actions/checkout@v4.1.5
- name: Install dependencies