Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Action should not run completely in a fork #270

Open
FDelporte opened this issue Mar 27, 2023 · 3 comments
Open

GitHub Action should not run completely in a fork #270

FDelporte opened this issue Mar 27, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@FDelporte
Copy link
Member

As reported by @taartspi: I created a fork and the build fails in GitHub Actions.

Solution: adapt the build script to not run completely in forks.

@FDelporte FDelporte added the enhancement New feature or request label Mar 27, 2023
@taartspi
Copy link
Collaborator

after updating my fork with changes on the parent repo the build process email:
[taartspi/pi4j-v2] Run failed: Build develop snapshot and push to download repo - develop (83d72bc)

the expanded details
ci-development-snapshot.yml
on push

Build & Deploy Snapshot
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.

thanks Tom

@FDelporte
Copy link
Member Author

strange, just tried all builds on current develop branch, and this node message doesn't appear...
@eitch any idea if/where node is used in actions?

@taartspi
Copy link
Collaborator

Not sure it matters in duplication. But my environment is as follows. My fork of v2 in github. I have it cloned on my pi. I develop on the pi and push to my fork then do a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants