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

checkout@v3 can't remove previously created refs - permission denied error #1302

Closed
cedrichak opened this issue Apr 25, 2023 · 2 comments
Closed

Comments

@cedrichak
Copy link

cedrichak commented Apr 25, 2023

I'm creating an action on a self hosted runner. actions/checkout returns an error when recreating refs and deleting my folders.

Screenshot 2023-04-25 at 13 38 15

This is the yaml file, i can't seem to get it to work. Does anyone have an idea on what's the issue?

name: CICD-testing

on:
  push:
    branches:
      - 'ci_cd_server'

jobs:
  algo-test:
    runs-on: self-hosted # ubuntu server
    permissions:
      actions: write
      contents: write
      packages: write

    steps:
      - name: Checkout repository
        uses: actions/checkout@v3

      - name: check for swimtraxx device
        run: |
          apt-get update
          cd testfiles
          ls /dev/ttyA*
@tmaxted
Copy link

tmaxted commented May 3, 2023

See #956

@cedrichak
Copy link
Author

cedrichak commented May 5, 2023 via email

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