-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use GITHUB_SERVER_URL for authentication configuration (#926)
Signed-off-by: Christophe Bedard <[email protected]>
- Loading branch information
1 parent
8bcafc2
commit 2f2a141
Showing
4 changed files
with
32 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -399,13 +399,16 @@ steps: | |
- uses: ros-tooling/[email protected] | ||
with: | ||
package-name: my_package | ||
# If there are no private dependencies, no need to create a PAT or add a secret | ||
# If there are no private dependencies, use the default token, no need to create a PAT or add a secret | ||
import-token: ${{ secrets.GITHUB_TOKEN }} | ||
# If there are private dependencies (e.g., in a file provided through vcs-repo-file-url), a PAT is required | ||
import-token: ${{ secrets.REPO_TOKEN }} | ||
# ... | ||
``` | ||
|
||
Note that this currently only works for tokens for the GitHub server this action runs on. | ||
For example, it will not work with a token for a private repo on github.com when the action is running on an enterprise GitHub server. | ||
|
||
### Skip `rosdep install` | ||
|
||
Include an option to bypass `rosdep install` for workflow that uses specific docker image and better control of dependencies. To check for missing dependencies within the workflow's image, user can run with `rosdep-check: true` flag. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters