Skip to content

Actions V4 unable to find repository using windows runner #2010

Closed
@ClaireLundy

Description

@ClaireLundy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions