Skip to content

Commit

Permalink
update workflow to use github token for the self commit
Browse files Browse the repository at this point in the history
  • Loading branch information
qnlbnsl committed Sep 19, 2024
1 parent 68f88a6 commit 0a23a1f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/update-binaries-esp32.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ jobs:
git commit -m "Add ESPHome Firmware: ${{ github.event.inputs.esphome_release_tag }}"
git push
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 4 additions & 2 deletions .github/workflows/update-binaries-xmos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ env:
jobs:
download-release:
runs-on: ubuntu-latest

permissions:
contents: write
steps:
- name: Checkout current repository
uses: actions/checkout@v4
Expand All @@ -39,4 +40,5 @@ jobs:
git commit -m "Add XMOS Firmware: ${{ github.event.inputs.xmos_release_tag }}"
git push
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0a23a1f

Please sign in to comment.