Comments (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.
Did you find any workarounds for this @Neos21 ? Having same issue.
from get-changed-files.
Related Issues (20)
- Head commit is not ahead of the base commit HOT 8
- Is it possible to have field rename_from HOT 5
- Get the list of files changed/modified in a release
- Doesn't work for a push of many commits HOT 1
- Support for renamed and modified HOT 2
- Use with `workflow_dispatch` HOT 1
- new feature - scan a set of paths HOT 3
- Error: The head commit for this pull_request event is not ahead of the base commit HOT 5
- Error: Bad credentials HOT 2
- Push action failed with empty list during Github actions outage HOT 1
- Action only returns the first 300 changed files
- Error: a step cannot have both the `uses` and `run` keys HOT 2
- Feature Request: Add support for changing github API url to something else
- Merge from the master branch flags all files as modified
- Action fails to run when amending previous commit
- `set-output` command will be deprecated soon and upgrade to Node16. HOT 7
- mv: unlink /bin/bash: Operation not permitted
- changes made in a specific folder HOT 1
- Seems like this repo is ABANDONED, alternatives suggestion HOT 6
- pull_request_review events are not supported
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from get-changed-files.