Giter VIP home page Giter VIP logo

Comments (2)

ChristopherHX avatar ChristopherHX commented on September 28, 2024 2

This action works fine with act v0.2.26, if you know how to use act.

Sample: use it with this repository and act

git clone https://github.com/jitterbit/get-changed-files

create two local files
event.json, see https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads/#push for more information about this file.

{
    "before": "a4c73aab1dc616b68807d62d7fc1d1374a87d9fe",
    "after": "d06c756e3609dd3dd5d302dde8d1339af3f790f2"
}

The two values have been taken from a4c73aa and d06c756 of the default branch.
And are creating the following diff a4c73aa...d06c756

changed-files.yaml

on: push
jobs:
  changed-files:
    runs-on: ubuntu-latest
    steps:
    - uses: jitterbit/get-changed-files@v1

Run act

act -s GITHUB_TOKEN -e event.json -W changed-files.yaml -P ubuntu-latest=catthehacker/ubuntu:act-latest

GITHUB_TOKEN is your personal access token of GitHub.
I don't think this was the right repository to ask for help for nektos/act, I guess it worked already with act back in 2020

from get-changed-files.

melvinadmin avatar melvinadmin commented on September 28, 2024 1

Did you find any workarounds for this @Neos21 ? Having same issue.

from get-changed-files.

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.