Skip to content

Commit

Permalink
ci: add set git config to resolve when ansible-galaxy-requirements ha…
Browse files Browse the repository at this point in the history
…s private repository (autowarefoundation#4578)

* ci: add generate token and set git config to resolve when ansible-galaxy-requirements has private repo

Signed-off-by: h-ohta <[email protected]>

* add only set git config

Signed-off-by: h-ohta <[email protected]>

---------

Signed-off-by: h-ohta <[email protected]>
  • Loading branch information
h-ohta authored Mar 29, 2024
1 parent 56470d5 commit 12185e1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/pre-commit-ansible.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4

- name: Set git config
uses: autowarefoundation/autoware-github-actions/set-git-config@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Install Ansible Galaxy depends for ansible-lint
run: |
ansible-galaxy collection install -f -r ansible-galaxy-requirements.yaml
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/setup-universe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4

- name: Set git config
uses: autowarefoundation/autoware-github-actions/set-git-config@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Run setup script
run: |
./setup-dev-env.sh -y -v universe

0 comments on commit 12185e1

Please sign in to comment.