[go: up one dir, main page]

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

Missing .github directory #1976

Open
h2oearth opened this issue Nov 14, 2024 · 1 comment
Open

Missing .github directory #1976

h2oearth opened this issue Nov 14, 2024 · 1 comment

Comments

@h2oearth
Copy link

I am using the latest checkout version; somehow, the .github directory is missing when I check the repository. I appreciate your help :-)

      - name: Checkout Repository
        uses: actions/checkout@v4
        with:
          sparse-checkout: .github
          ref: master
          repository: mine/github-workflows
          token: ${{ secrets.REPO_ACCESS }}
@valentindeaconu
Copy link
valentindeaconu commented Nov 14, 2024

We are experiencing the same (or similar) issue with our setup:

      - name: Checkout
        uses: actions/checkout@v4
        with:
          sparse-checkout: |
            ./.github/actions/compute-jobs

      - name: 'Compute jobs'
        id: jobs
        uses: ./.github/actions/compute-jobs

The step Checkout finishes successfully, but Compute jobs fails with:

Error: Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '/home/runner/_work/repo/repo/.github/actions/compute-jobs'. Did you forget to run actions/checkout before running your local action?

We started to experience this when we upgraded to actions/runner:v2.320.0.

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

2 participants