Giter Club home page Giter Club logo

Comments (12)

GopikaV24 avatar GopikaV24 commented on May 24, 2024

We are also facing same issue. @saadmk11 Can you please help us?

from github-actions-version-updater.

saadmk11 avatar saadmk11 commented on May 24, 2024

@GopikaV24 Can you please share your workflow file content?

from github-actions-version-updater.

GopikaV24 avatar GopikaV24 commented on May 24, 2024

Please refer this,

name: GitHub Actions Version Updater

# Controls when the action will run.
on: workflow_dispatch

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v3
        with:
          # [Required] Access token with `workflow` scope.
          token: ${{ secrets.WORKFLOW_SECRET }}

      - name: Run GitHub Actions Version Updater
        uses: saadmk11/[email protected]
        with:
          # [Required] Access token with `workflow` scope.
          token: ${{ secrets.WORKFLOW_SECRET }}
          extra_workflow_locations: "./workflows"

from github-actions-version-updater.

saadmk11 avatar saadmk11 commented on May 24, 2024

Please check if running this command before running GitHub Actions Version Updater works for you

git config --global --add safe.directory "$GITHUB_WORKSPACE"

- uses: actions/checkout@v3
  with:
    # [Required] Access token with `workflow` scope.
    token: ${{ secrets.WORKFLOW_SECRET }}

- run: git config --global --add safe.directory "$GITHUB_WORKSPACE"

- name: Run GitHub Actions Version Updater
  uses: saadmk11/[email protected]
  with:
    # [Required] Access token with `workflow` scope.
    token: ${{ secrets.WORKFLOW_SECRET }}
    extra_workflow_locations: "./workflows"

ref:

from github-actions-version-updater.

GopikaV24 avatar GopikaV24 commented on May 24, 2024

Same issue again.

from github-actions-version-updater.

jmlemetayer avatar jmlemetayer commented on May 24, 2024

Failed for me too:
https://github.com/jmlemetayer/project-release/actions/runs/3712216512/jobs/6293507743#step:5:33

from github-actions-version-updater.

jmlemetayer avatar jmlemetayer commented on May 24, 2024

I have tried to revert the "actions/checkout" to v3.1.0: jmlemetayer/project-release@350fddd

But it still failing: https://github.com/jmlemetayer/project-release/actions/runs/3713459678/jobs/6296129467

from github-actions-version-updater.

saadmk11 avatar saadmk11 commented on May 24, 2024

I have added a PR for this here: #50

@jmlemetayer @GopikaV24 Please check if this solves the issue for you.

Use:

uses: saadmk11/github-actions-version-updater@safe-dir

from github-actions-version-updater.

rajitha66 avatar rajitha66 commented on May 24, 2024

Now its working fine using uses: saadmk11/github-actions-version-updater@safe-dir @saadmk11. Thanks

from github-actions-version-updater.

jmlemetayer avatar jmlemetayer commented on May 24, 2024

I confirm that it works for me too:
https://github.com/jmlemetayer/project-release/actions/runs/3730488646/jobs/6327603839

@saadmk11 Can you make a branch with both #50 and #40 as a final test ?

from github-actions-version-updater.

saadmk11 avatar saadmk11 commented on May 24, 2024

Hi @jmlemetayer, Rebased https://github.com/saadmk11/github-actions-version-updater/tree/pr-branch-config with the current main branch

from github-actions-version-updater.

saadmk11 avatar saadmk11 commented on May 24, 2024

Hi everyone, I have just released https://github.com/saadmk11/github-actions-version-updater/releases/tag/v0.7.2. This should fix the issue you were facing. Please update to saadmk11/[email protected] and feel free to re-open if the issue persists. :)

from github-actions-version-updater.

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.