site stats

Github actions submodule update

WebJan 22, 2024 · This then results in fully automated pull requests that updates submodules just like how the old dependabot did on dependency updates before it was merged into github. Note: the action versions may have been updated since then, I would strongly recommend setting up dependabot to keep the actions up to date as well as your normal … WebMar 5, 2024 · Collecting feedback for the new input submodules. Use actions/checkout@master. Refer here for usage. SSH support landing in master soon (tomorrow). Will update the tag v2 after collecting feedback. ... I'd appreciate a configuration option to specify a list of submodules to checkout: git submodule update --init module …

submodules-init · Actions · GitHub Marketplace · GitHub

WebThis GitHub action creates a new branch and pull request against the parent repository when submodules are updated The end goal of this tool: Create a new branch on the parent repository and get all submodules updates Create a pull request from newly created branch Add a custom label to the pull request How to use WebJun 21, 2024 · This solution works when you want to keep flexibility of URL repos and still use GitHub Actions with Deploy Keys to access private submodules: ... Just doing git submodule update --init --recursive got me the desired behavior. And this comment confirms the ssh-agent approach. Share. Improve this answer. cty vinaconex https://jocatling.com

How to update a submodule version to latest ? #80 - GitHub

WebAug 24, 2024 · name: Update module on: repository_dispatch: types: update jobs: update: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: token: $ { { secrets.PAT }} submodules: recursive - name: Update module run: git submodule update --init --recursive --checkout -f --remote -- "$ { {github.event.client_payload.module}}" git config - … WebFeb 10, 2024 · The customer wanted a custom GitHub Action to trigger whenever any of the submodules are updated to create a new branch on the parent repository, create a … Web- name: Checkout submodules using a PAT run: git config --file .gitmodules --get-regexp url while read url; do git config --file=.gitmodules $ (echo "$url" sed -E "s/[email protected]: https:\/\/github.com\//https:\/\/$ { { secrets.CI_PAT }}:$ { { secrets.CI_PAT }}@github.com\//") git submodule sync git submodule update --init - … easistent urnik oš blanca

Checkout submodules · Actions · GitHub Marketplace · GitHub

Category:Help needed for installation · Issue #3 · Merck/matcher · …

Tags:Github actions submodule update

Github actions submodule update

[master] submodule issue about https and user #62 - GitHub

WebTo use this GitHub Action you will need to complete the following in the submodule repository: Parent repository has .gitmodules configured Store GitHub token into secrets with permissions to write to parent repository Create a new file in your repository called .github/workflows/submodule-update.yml WebI always have to do this, there are a better way ? 5. Add method readd submodule. 5cb984c. You should actually just update with normal git methods like it's a standalone repo and then add the repo and commit: cd && cd .. git add submodule_name git commit -m "updating submodule to latest". 44. Owner.

Github actions submodule update

Did you know?

WebThis is a simple github action to run git submodule update --init --recursive so that your repository has all its submodules. This action was written in javascript, which allows it to work on both linux and windows (and hopefully macos too but I … WebMay 9, 2024 · Trouble seems to have been with actions/checkout step. The following worked: - name: Update submodules if: $ { { github.event_name != 'pull_request'}} run: set -o xtrace git submodule update --init --recursive git submodule update --remote --merge --recursive. You are cloning with a depth of 1 and then run the git pull --recurse …

WebActions. Automate any workflow Packages. Host and manage packages Security. Find and fix vulnerabilities Codespaces. Instant dev environments Copilot. Write better code with AI ... git submodule update --init => To also initialize, fetch and checkout any nested submodules, you can use the foolproof git submodule update --init --recursive. ... WebFeb 10, 2024 · First, you can choose how you want the Github Action to be triggered, on push or pull. Next are the environment variables as seen in the env block. You will need to change the PARENT_REPOSITORY to point to your parent repository. Next you can specify which branch you want to check out on the parent REPOSITORY.

WebMar 8, 2024 · For this to work, I set up a private key via a configured secret in 'A' and the respective public key in 'B' and use the following step: - name: Setup access via public/private key. # Below command requires the FOOBAR_PRIVATE_KEY to be configured via github repository secrets. # Also the key's public part must be added to …

WebMar 18, 2024 · steps: - uses: actions/checkout@v2 with: lfs: 'true' submodules: recursive ssh-key: $ { { secrets.git_key }} - name: Create LFS file list run: git lfs ls-files -l cut -d' ' -f1 sort > .lfs-assets-id - name: Restore LFS cache uses: actions/cache@v2 id: lfs-cache with: path: .git/lfs key: $ { { runner.os }}-lfs-$ { { hashFiles …

WebMar 11, 2024 · As part of a GitHub action, create a .ssh/mysubmodulekey using the secret. Update my .gitsubmodules file in another GH action: Then run the submodule init commands: Finally remove the ssh keys just in case the action container is reused (probably it is not, right?) easistent bc nakloWebThe GitHub API token to use: false ${{ github.token }} path: The path in the repo to update: true: ref: The branch name to check for updates in the remote repo: true: pr_branch: The name of the branch to use when creating a pull request: true: target_branch: The name of the branch that the PR should be raised against: true: base_branch cty vinafcoWebJan 11, 2024 · When GitHub actions updates the submodule, it runs into an authentication problem and cannot access the submodule with GitHub actions. I followed the discussion on how to authenticate to private repositories, here and here. Currently, my main issue is how to access and use the personal access token as discussed in the links … easispray adhesive removerWebThank you very much for your prompt answer. My docker version is as below: Docker version 20.10.21, build 20.10.21-0ubuntu1~18.04.2. What I tried as follows: easi speak microphonesWebOct 31, 2024 · But when add URL with a owner@ and other user (not an owner) will want to do git submodule update, then he will be prompted about owner password.. So using current method of authorisation with token for user which is set in submodule HTTPS URL is not functional.. How to solve it? Deploy key? Let set also user as parameter in … cty vifonWebMay 4, 2024 · Trigger GitHub Action in Submodules from Parent Repo Action. Let's say that I have two repositories, parentrepo and childrepo. childrepo has a github action (example from the docs ): name: GitHub Actions Demo on: workflow_dispatch jobs: Explore-GitHub-Actions: runs-on: ubuntu-latest steps: - run: echo "🎉 The job was … cty vinasoyWebDec 19, 2024 · In order to update an existing Git submodule, you need to execute the “git submodule update” with the “–remote” and the “–merge” option. $ git submodule update --remote --merge. Using the “–remote” command, you will be able to update your existing Git submodules without having to run “git pull” commands in each ... easist map in civ 6 deity