Skip to content

Commit

Permalink
add only set git config
Browse files Browse the repository at this point in the history
Signed-off-by: h-ohta <hiroki.ota@tier4.jp>
  • Loading branch information
h-ohta committed Mar 29, 2024
1 parent 142b9ff commit 1667e22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/pre-commit-ansible.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,10 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4

- name: Generate token
id: generate-token
uses: tibdex/github-app-token@v2
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}

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

- name: Install Ansible Galaxy depends for ansible-lint
run: |
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/setup-universe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,10 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4

- name: Generate token
id: generate-token
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}

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

- name: Run setup script
run: |
Expand Down

0 comments on commit 1667e22

Please sign in to comment.