fix(ci): add explicit ref:main for cross-repo checkout
Some checks failed
Build and Push Docker Image / build (push) Failing after 37s
Some checks failed
Build and Push Docker Image / build (push) Failing after 37s
actions/checkout@v3 fails when querying the default branch for a different repository. Explicitly specifying ref:main skips the API discovery that was returning 'Not found'.
This commit is contained in:
@@ -21,6 +21,7 @@ jobs:
|
|||||||
repository: b3nw/schwab-scraper
|
repository: b3nw/schwab-scraper
|
||||||
path: vendor/schwab-scraper
|
path: vendor/schwab-scraper
|
||||||
token: ${{ secrets.CR_PAT }}
|
token: ${{ secrets.CR_PAT }}
|
||||||
|
ref: main
|
||||||
|
|
||||||
- name: Login to Gitea Container Registry
|
- name: Login to Gitea Container Registry
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
|
|||||||
Reference in New Issue
Block a user