Giter Club home page Giter Club logo

Comments (7)

verheyenkoen avatar verheyenkoen commented on June 8, 2024 1

Yes, this worked, thanks!

from github-action.

MikeMcC399 avatar MikeMcC399 commented on June 8, 2024

@verheyenkoen

Thanks for reporting the issue that the commit message is missing in Cypress Cloud if you are using a Cypress Docker container like this:

jobs:
  cypress-run:
    runs-on: ubuntu-22.04
    container:
      image: cypress/included

It seems that this is a permissions issue, as I am able to reproduce the situation:

  • no commit MESSAGE shown on Cypress Cloud
  • Numerical COMMIT is shown on Cypress Cloud, however it is not a hyperlink back to the GitHub repo

After adding the Docker user 1001, as below, the commit MESSAGE was shown and the COMMIT was a hyperlink.

jobs:
  cypress-run:
    runs-on: ubuntu-latest
    container:
      image: cypress/included:latest
      options: --user 1001

Would you like to try this?

I also have some other comments on your workflow. Let's get the main point sorted out first if possible though.

from github-action.

MikeMcC399 avatar MikeMcC399 commented on June 8, 2024

https://github.com/cypress-io/github-action#docker-image

image

from github-action.

gkatsanos avatar gkatsanos commented on June 8, 2024

Hey @MikeMcC399 , having the same issue. Workflow:

jobs:
  cypress:
    runs-on: default-visable
    container:
      image: cypress/browsers:node18.12.0-chrome107
      options: --user 1001
    env:
      GITHUB_TOKEN: ${{ secrets.PACKAGES_READ_ONLY_TOKEN_GITHUB }}
      PUBLIC_API_URL: "https://api.staging.visable.io"
      IS_CYPRESS: "true"
      BASE_URL: "https://www.wlw-staging.de"
      REQUESTS_INTERNAL_API: "https://requests-service.internal.wlw-1.staging.visable.cloud/requests_service/internal_api"
      RECAPTCHA_SITE_KEY: "6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI"
      RECAPTCHA_SECRET_KEY: "6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe"
    steps:
      - uses: pnpm/action-setup@v3
        with:
          version: 8.15.3
      - name: Define proper Checkout REF
        shell: bash
        run: echo "ref=$(echo ${GITHUB_HEAD_REF:-${GITHUB_REF}})" >> $GITHUB_OUTPUT
        id: extract_ref
      - uses: actions/checkout@v4
        with:
          ref: "${{ steps.extract_ref.outputs.ref }}"
      - name: setup github packages authentication
        run: 'echo "//npm.pkg.github.com/:_authToken=${{ secrets.PACKAGES_READ_ONLY_TOKEN_GITHUB }}" > ~/.npmrc'
      - uses: cypress-io/github-action@v6
        id: cypress
        env:
          GITHUB_TOKEN: ${{ secrets.PACKAGES_READ_ONLY_TOKEN_GITHUB }}
          COMMIT_INFO_BRANCH: ${{ github.ref_name }}
          CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
        with:
          record: true
          build: pnpm build
          start: pnpm start
          browser: chrome
      - name: cleanup repo files
        if: always()
        run: find . -mindepth 1 -delete

image
image

from github-action.

MikeMcC399 avatar MikeMcC399 commented on June 8, 2024

@gkatsanos

Please open a new issue. The previous one was about cypress/included which you are not using.
It may be a permissions issue again, since you are apparently using a self-hosted runner.

from github-action.

gkatsanos avatar gkatsanos commented on June 8, 2024

Yes, it seems it is a permissions issue indeed.

from github-action.

gkatsanos avatar gkatsanos commented on June 8, 2024

#1175 done

from github-action.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.