Comments (9)
Can you try the following?
- Go to https://github.com/$user/$repo/settings/actions (replace
$user
and$repo
). Under "Workflow permissions," select "Read and write permissions." This might already be selected. Not sure why this option would fix this, but you never know. - Create your own personal access token and add it as a secret: https://github.com/ros-tooling/action-ros-ci#Use-with-private-repos. If this private repo is under an organisation, you might need to create a special token, I don't remember how that works.
I can give it a try on my end with a private repo, but probably not today.
from action-ros-ci.
Thanks.
I tried "1" , didn't help.
2 is harder since it's an org, and according to action-ros-ci
docs is not needed since we do not have private dependencies..
So I would prefer to wait and see your reproduction..
Or if you have other tips that might fix it..
Thanks,
Nir
from action-ros-ci.
2 is harder since it's an org, and according to action-ros-ci docs is not needed since we do not have private dependencies..
Yeah it used to work fine, but these token permissions seem to change all the time 😐
from action-ros-ci.
According to this line :
action-ros-ci/src/action-ros-ci.ts
Line 558 in 79e12af
I think you try to clone the PR source repo and not the target PR repo, sounds right?
According to GitHub actions documentation
head means the source repo (which is not the workfile repo)
and base is the target repo.
The action is running againt the target repo and the token is valid for the target repo.
from action-ros-ci.
@timor-raiman FYI
from action-ros-ci.
Good observation.
Sounds like you have two private repos, and you use one as a fork (repo B) and open pull requests against the other one (repo A). Is that correct? My recommendation would be to not fork a private repo, but I guess that doesn't help you much.
Does it work if you use this change then? timor-raiman@c3757c1. I don't think it does (at least not for all cases), because cloning the target repo with a commit hash belonging to the source repo doesn't work.
from action-ros-ci.
Correct, forking the private repo and trying to PR from the fork to the main
@timor-raiman is trying to help with changes to your code..
Hopefully we can find a fix and you can review & merge it..
from action-ros-ci.
Of course, improvements and fixes are always welcome!
from action-ros-ci.
If dirk-thomas/vcstool#258 can be fixed, #816 would resolve this...
from action-ros-ci.
Related Issues (20)
- Input for git reference to checkout HOT 3
- Windows CI fails without a helpful error message HOT 2
- Warning: The `set-output` command is deprecated and will be disabled soon. HOT 1
- Cannot pull private submodules using ssh HOT 1
- Run `colcon test-result` to print test failures
- Pep 257 test fails with internal error on rolling HOT 4
- Option for Catkin Build for ROS 1 Projects HOT 1
- Split build and test steps
- Support other ways of selecting packages HOT 2
- Args set using colcon-defaults do not reflect in workflow run HOT 9
- Can't load rclcpp::components in containers during test HOT 5
- Test failure on Galactic HOT 4
- ModuleNotFoundError: No module named 'catkin_pkg' when building ROS2 package using [email protected] HOT 2
- Skip `rosdep install` HOT 8
- wrong URL for GitHub Enterprise repos HOT 3
- [README Docs Request] A remark on setup-ros vs Docker already setup HOT 2
- Cannot get local files with vcs-repo-file-url HOT 3
- Have the default examples have the steps to install other DDS implementations
- Build Error on ROS Noetic HOT 5
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 action-ros-ci.