diff --git a/.github/workflows/update_zh.yml b/.github/workflows/update_zh.yml index 13b06ea5..7bf4e6f3 100644 --- a/.github/workflows/update_zh.yml +++ b/.github/workflows/update_zh.yml @@ -16,6 +16,8 @@ jobs: - run: npm install zigbee-herdsman@${{ github.event.client_payload.version }} --save-exact - run: rm -rf node_modules npm-shrinkwrap.json && npm install && npm shrinkwrap --dev - uses: peter-evans/create-pull-request@v2 + env: + GITHUB_TOKEN: ${{ secrets.REPO_SCOPED_TOKEN }} with: commit-message: Update zigbee-herdsman to ${{ github.event.client_payload.version }} branch: "update_zh" diff --git a/.github/workflows/update_zhc.yml b/.github/workflows/update_zhc.yml index 03674f3a..a7bf5f5b 100644 --- a/.github/workflows/update_zhc.yml +++ b/.github/workflows/update_zhc.yml @@ -16,6 +16,8 @@ jobs: - run: npm install zigbee-herdsman-converters@${{ github.event.client_payload.version }} --save-exact - run: rm -rf node_modules npm-shrinkwrap.json && npm install && npm shrinkwrap --dev - uses: peter-evans/create-pull-request@v2 + env: + GITHUB_TOKEN: ${{ secrets.REPO_SCOPED_TOKEN }} with: commit-message: Update zigbee-herdsman-converters to ${{ github.event.client_payload.version }} branch: "update_zhc"