Skip to content

Commit

Permalink
Update bump-modules.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
T0biii authored Nov 3, 2024
1 parent 874359f commit 603ba75
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/bump-modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ name: "Update Modules base"
on:
workflow_dispatch:

permissions:
contents: write # so it can comment
pull-requests: write # so it can create pull requests

jobs:
update-Modules:
runs-on: ubuntu-22.04
Expand All @@ -21,6 +17,12 @@ jobs:
- name: Clone Firmware
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6

- name: Get GitHub App User ID
id: get-user-id
run: echo "user-id=$(gh api "/users/${{ steps.app-token.outputs.app-slug }}[bot]" --jq .id)" >> "$GITHUB_OUTPUT"
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}

- name: Configure Git User and E-Mail
env:
COMMIT_NAME: ${{ steps.app-token.outputs.app-slug }}[bot]
Expand Down

0 comments on commit 603ba75

Please sign in to comment.