Skip to content
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

Actions V4 unable to find repository using windows runner #2010

Closed
ClaireLundy opened this issue Dec 18, 2024 · 0 comments
Closed

Actions V4 unable to find repository using windows runner #2010

ClaireLundy opened this issue Dec 18, 2024 · 0 comments

Comments

@ClaireLundy
Copy link

I am create a github action using the windows-latest runner and write permissions. The issue is that the action is failing on the 'Checkout GitHub Action' step:

Screenshot 2024-12-18 at 2 59 47 PM

Here the the relevant part of my yaml file:

name: Build and deploy dotnet core app to Azure Function App - ConvertToJsonFRCM

on:
  push:
    branches:
      - main
  workflow_dispatch:

env:
  AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root
  DOTNET_VERSION: 'v4.0' # set this to the dotnet version to use

jobs:
  build-and-deploy:
    runs-on: windows-latest
    permissions:
      id-token: write #This is required for requesting the JWT

    steps:
      - name: 'Checkout GitHub Action'
        uses: actions/checkout@v4

I have tried added the repository name explicitly using the repository option. I've validated that my user has the correct permissions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant