Git Product home page Git Product logo

Comments (10)

jeffreytse avatar jeffreytse commented on May 20, 2024

Hi @MarkChenYutian

Thanks for your issue, this issue is due to the security fix from the Git security vulnerability
recently announced:

https://github.blog/2022-04-12-git-security-vulnerability-announced/.

Relevant GH issue: actions/checkout#760

Thanks & Regards

from jekyll-deploy-action.

MarkChenYutian avatar MarkChenYutian commented on May 20, 2024

Thanks for the quick reply! I've read through the issue you linked in response but still can't figure out a way to resolve this problem. I've added the following steps in the job according to the discussion in the issue:

build_and_deploy:
    runs-on: ubuntu-latest
    steps:
      # ADDED TWO STEPS BELOW
      - name: bypass-security-err
        run: git config --global --add safe.directory /__w/MarkChenYutian/blog
      - name: bypass-security-err-2
        run: git config --global --add safe.directory /github/workspace

      - uses: actions/checkout@v2
      # Use GitHub Actions' cache to cache dependencies on servers
      - uses: actions/cache@v2
        with:
          path: vendor/bundle
          key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
          restore-keys: |
            ${{ runner.os }}-gems-
    ...(omitted)

but it didn't seem to work. Do you have any further suggestions ...?

from jekyll-deploy-action.

jeffreytse avatar jeffreytse commented on May 20, 2024

Hi @MarkChenYutian

I have fixed this issue, you can try again with the latest version.

Thanks & Regards

from jekyll-deploy-action.

MarkChenYutian avatar MarkChenYutian commented on May 20, 2024

image

Not working still... Perhaps because the workflow is still using v0.3.1 of jekyll-deploy-action instead of the latest version?

from jekyll-deploy-action.

jeffreytse avatar jeffreytse commented on May 20, 2024

Hi @MarkChenYutian

Please use actions/checkout@v3 and jekyll-deploy-action@master.

Thanks & Regards

from jekyll-deploy-action.

MarkChenYutian avatar MarkChenYutian commented on May 20, 2024

There's still this fatal error:

fatal: unsafe repository ('/github/workspace/vendor/bundle/ruby/2.7.0/cache/bundler/git/eventmachine-e3d3e89487250965501abc7691f83311d8df32b1' is owned by someone else)

(with checkout@v3 and jekyll-deploy-action@master)

Here's the log: https://github.com/MarkChenYutian/blog/runs/6338487604?check_suite_focus=true

from jekyll-deploy-action.

jeffreytse avatar jeffreytse commented on May 20, 2024

@MarkChenYutian Just did some changes, please rerun your action again and tell me the result.

from jekyll-deploy-action.

MarkChenYutian avatar MarkChenYutian commented on May 20, 2024

Still failed: https://github.com/MarkChenYutian/blog/runs/6338543771?check_suite_focus=true

from jekyll-deploy-action.

jeffreytse avatar jeffreytse commented on May 20, 2024

Hi @MarkChenYutian

You can rerun again, I have test, and it's successful.

Thanks & Regards

from jekyll-deploy-action.

MarkChenYutian avatar MarkChenYutian commented on May 20, 2024

Hi @jeffreytse

It worked! Thanks so much for the quick response and all these follow-ups!

So many Thanks!

from jekyll-deploy-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.